星期四, 6月 20, 2019

Elmah bootstrapper

After .NET Framework 4.x, include Elmah just need:
  • *.csproj
    • ...
    • </ItemGroup>
    • <ItemGroup>
    •   <PackageReference Include="elmah.bootstrapper" Version="1.0.1" />
    • </ItemGroup>
    • ...
  • Elmah.Athz.config
    • ?

Then you can check error by visit http://<YourWebAP>/elmah from any remote

SonarQube method-level complexity

After SonarQube 6.7, file-level complexity still calculated, but method-level complexity gone. The opinion of SonarQube team is Complexity is displayed as a Code Smell. If you still wish to investigate the complexity of your project in method-level, combine those filter:
  • Type: Code Smell
  • Severity: Critical
  • Tag: brain-overload