Category: projects
-
Watch2–part 1–idea
I frequently use .NET Watch for two main reasons: Running .NET applications during development. Executing tests. Seriously,if you haven’t tried .NET Watch,you’re missing out. It’s like having a personal assistant who never sleeps compiling code . For more info,check out Microsoft’s documentation at https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-watch But,like all good things,it comes with a couple of quirks: The…
-
NetCoreUsefullEndpoints-part 13–adding runtime information
In the Nuget NetCoreUsefullEndpoints I have added information about the runtime information : You can access by going to localhost:5027/api/usefull/runtimeinformationAll and the end result is { “frameworkDescription”: “.NET 8.0.8”, “osDescription”: “Microsoft Windows 10.0.22631”, “processArchitecture”: “X64”, “osArchitecture”: “X64” } The code that returns this is ( I have used a Roslyn Code Generator,https://ignatandrei.github.io/RSCG_Examples/v2/docs/RSCG_Static#example–source-csproj-source-files-,that generates a class…
-
NetCoreUsefullEndpoints-part 12–adding url adresses
In the Nuget NetCoreUsefullEndpoints I have added information about the current process : You can access by going to localhost:5027/api/usefull/adresses and the end result is [ “http://localhost:5027″ ] The code that returns this is
-
NetPackageAnalyzer- part 14–class coupling
The .NET Tool,https://www.nuget.org/packages/netpackageanalyzerconsole,can now analyze a solution and see theclass coupling The program is showing the class coupling index of classes . https://learn.microsoft.com/en-us/visualstudio/code-quality/code-metrics-class-coupling?view=vs-2022 Install from https://nuget.org/packages/netpackageanalyzerconsole
-
NetPackageAnalyzer–part 13–executable lines
The .NET Tool,https://www.nuget.org/packages/netpackageanalyzerconsole,can now analyze a solution and see the number of executable lines The program is showing the number of executable lines per method,class,assembly . https://learn.microsoft.com/en-us/visualstudio/code-quality/code-metrics-values?view=vs-2022 Install from https://nuget.org/packages/netpackageanalyzerconsole
-
NetPackageAnalyzer–part 12-CyclomaticComplexity
The .NET Tool,https://www.nuget.org/packages/netpackageanalyzerconsole,can now analyze a solution and see the cyclomatic complexity. Cyclomatic Complexity for assembly,class,method The cyclomatic complexity of a section of code is the number of linearly independent paths through the code. It is a quantitative measure of the number of linearly independent paths through a program’s source code. The program is showing…
-
NetPackageAnalyzer–part 11–Building Blocks,Test Projects and Root Projects
The .NET Tool,https://www.nuget.org/packages/netpackageanalyzerconsole,can now analyze a solution and see the Building Blocks,Test Projects and Root Projects Building blocks Projects I define as Building blocks projects the projects that have no reference to other projects. If you are new to the solution,then you can start to those base projects – should be self contained and self…
-
NetPackageAnalyzer–part 10–commits per year and folder
The .NET Tool,https://www.nuget.org/packages/netpackageanalyzerconsole,can now analyze a solution and see the commits per year and folder
-
NetPackageAnalyzer–part 9- Radar
The .NET Tool,https://www.nuget.org/packages/netpackageanalyzerconsole,can now analyze a solution and see the different correlations of a project in a radar form This is what have been generated to itself Install from https://nuget.org/packages/netpackageanalyzerconsole
-
NetPackageAnalyzer–part 7-PublicClassesProject
Assemblies with number of public classes Assemblies with Public methods Classes with Public methods See https://ignatandrei.github.io/PackageAnalyzer/docs/Analysis/NetPackageAnalyzer/summaryPublicClasses