Category: .NET
-
Dotnet Stars–part 1
The .NET Stats project wants to show the stars for .NET github projects. The projects are taken from .NET Foundation,https://dotnetfoundation.org/, Vitali Fokin https://github.com/quozd/awesome-dotnet/ and Thang Chung https://github.com/thangchung/awesome-dotnet-core There are more than 1000 repositories investigated. Here are the first 30 projects with most stars : “ASP.NET Core” https://github.com/aspnet/home number stars 35690 “ASP.NET MVC” https://github.com/dotnet/aspnetcore number stars…
-
RSCG – NTypewriter
RSCG – NTypewriter name NTypewriter nuget https://www.nuget.org/packages/NTypewriter.SourceGenerator link https://github.com/NeVeSpl/NTypewriter author NeVeSpl Generating code with a template from classes in project This is how you can use NTypewriter . The code that you start with is The code that you will use is The code that is generated is Code and pdf…
-
RSCG – rscg_Interface_to_null_object
RSCG – rscg_Interface_to_null_object name rscg_Interface_to_null_object nuget https://www.nuget.org/packages/rscg_Interface_to_null_object/ https://www.nuget.org/packages/rscg_Interface_to_null_object_common link https://github.com/ignatandrei/rscg_Interface_to_null_object/ author Andrei Ignat Generate null objects for interfaces This is how you can use rscg_Interface_to_null_object . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg_Interface_to_null_object
-
RSCG – Larcanum.GitInfo
RSCG – Larcanum.GitInfo name Larcanum.GitInfo nuget https://www.nuget.org/packages/Larcanum.GitInfo/ link https://github.com/lord-executor/Larcanum.GitInfo author Generates GitInfo data from the current environment. This is how you can use Larcanum.GitInfo . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Larcanum.GitInfo
-
openAPISwaggerUI–part 4–adding tests
This is how I made https://nuget.org/packages/OpenAPISwaggerUI in order to see the UI for an ASP.NET 9 project. And hey,if you have any feedback,don’t be shy! Drop by https://github.com/ignatandrei/openAPISwaggerUI/ and let me know. For testing,I have created a new ASP.NET Core 9 project that can be used to run And I want to see that /swagger…
-
openAPISwaggerUI–part 3–add UI for all
This is how I made https://nuget.org/packages/OpenAPISwaggerUI in order to see the UI for an ASP.NET 9 project. And hey,if you have any feedback,don’t be shy! Drop by https://github.com/ignatandrei/openAPISwaggerUI/ and let me know. Now I want the users of my ASP.NET 9 project to have a buffet of Swagger UIs (Swashbuckle,Redoc,Scalar,NSwag,VisualAutomation) and let them pick their…
-
openAPISwaggerUI–part 2 – add ui for all
This is how I made https://nuget.org/packages/OpenAPISwaggerUI in order to see the UI for an ASP.NET 9 project. And hey,if you have any feedback,don’t be shy! Drop by https://github.com/ignatandrei/openAPISwaggerUI/ and let me know. Step one in this epic quest: add all the mystical references (a.k.a. NuGet packages) to the project file. Next,I had to figure out…
-
openAPISwaggerUI–part 1- idea
In .NET 9,Microsoft decided to play a little game of “Hide and Seek” with OpenAPI / Swagger JSON generation,leaving the UI part for us to figure out. So,how do we choose the best UI for our project without turning it into a guessing game? Well,I thought,why not create a project that lets you try all…
-
[Interface2NullObject]Debugger and Converter–part 5
It will be interesting to see the Null Object in the debugger with properties generated from interface -see https://www.nuget.org/packages/rscg_Interface_to_null_object This is not very difficult to generate once you have the interface with properties The code for generating and the code generated is More interesting is to have a converter in order…
-
[Interface2NullObject]Replace default-part 4
So for https://github.com/ignatandrei/rscg_Interface_to_null_object we put the default return value as the default for the return type. For properties,it is enough easy to modify the data. But for functions ? Let’s say we return an array The default value is null – so it will be throwing an error when do “foreach ” . So –…