.Net Code Analysis – NDepend Part-1

C# CODE ANALYSISLearn to analyze .Net applications using NDepend.Photo by cottonbro from PexelsLearning ObjectivesHow to use NDepend to analyze .Net AssembliesDashboard report features.How Dependency Graph helps to improve code architecture and maintainability.PrerequisitesFirst, Install the latest Visual Studio here.Download NDepend Trail Edition hereUnzip the download and install the VS extensionOfficial Documentation for more infoGetting StartedPost-installation, to attach the code analyzer to … Continue reading .Net Code Analysis – NDepend Part-1

GitHub SonarQube workflow — .Net

C# CONCEPTSHow to set up GitHub SonarQube workflow on pull request for .Net repositoriesPhoto by Malte Luk from PexelsLearning ObjectivesHow to set up SonarQube locallySetup GitHub workflow with Sonar CloudRun SonarQube code analysis on pull requestPrerequisitesDownload Git command line or Github DesktopNeed a .Net core or framework project created using Visual Studio or dotnet global command-line utility.Getting StartedSonarQube … Continue reading GitHub SonarQube workflow — .Net

Enforce code cleanup on build — .Net

.NET CODE ANALYSISCreate code cleanup profiles and run on the build-in Visual Studio.Photo by Blake Connally on UnsplashThe article demonstrates howTo create code cleanup profiles in the Visual Studio solution explorer.Run code cleanup profile manually or automatically on the build.How some of the Visual Studio 2019 code analysis features can improve the quality of our C# code and … Continue reading Enforce code cleanup on build — .Net

Run SonarQube Locally — .Net

.NET CODE ANALYSISHow to run SonarQube locally for .Net solutionsThe article describes how to analyze C# code quality using the SonarQube command line.Photo by Jefferson Santos on UnsplashPrerequisitesDownload the SonarQube free Community EditionSonarQube scanners require version 8/11 of the JVM, and the SonarQube requires version 11Install PostgreSQL for demonstration, but it also supports MSSQL and Oracle databases.For the .Net … Continue reading Run SonarQube Locally — .Net

Automatically Identify Bugs in Your Code With .NET 5

C# CONCEPTS.Net SDK now incorporates rich diagnostics and code recommendations in the .NET SDK by default.In the past, it’s unwilling to add new warnings to C#. Its because adding recent warnings is technically a source breaking change for users who have notifications set as errors.C# compiler uses Analysis Level to introduce warnings for these patterns in … Continue reading Automatically Identify Bugs in Your Code With .NET 5