Category: .NET Core
-
Aspire and upgrading WordPress–programming
Now the problem was how to modify the insert generated by old WordPress backup to the new columns . But I wanted to do it in one shot . So a new application: instead of WSL, I will put into Docker( WordPress has already a docker image). Instead of PowerShell, I will have a .NET…
-
RSCG – rscg_demeter
RSCG – rscg_demeter name rscg_demeter nuget https://www.nuget.org/packages/rscg_demeter/ link https://github.com/ignatandrei/rscg_demeter/ author Andrei Ignat Generating diagnostics about Law of Demeter violations This is how you can use rscg_demeter . The code that you start with is The code that you will use is The code that is generated is Code and pdf at…
-
RSCG – PMart.Enumeration
RSCG – PMart.Enumeration name PMart.Enumeration nuget https://www.nuget.org/packages/PMart.Enumeration.Generator/ https://www.nuget.org/packages/PMart.Enumeration/ link https://github.com/p-martinho/Enumeration author Martinho Constants as enumeration. With EFCore,Swagger and other implementations. This is how you can use PMart.Enumeration . The code that you start with is The code that you will use is The code that is generated is Code and pdf…
-
RSCG – MemberAccessor
RSCG – MemberAccessor name MemberAccessor nuget https://www.nuget.org/packages/BunnyTail.MemberAccessor/ link https://github.com/usausa/member-accessor-generator author Yamaokuno Generate getter and setter for class members. This is how you can use MemberAccessor . 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/MemberAccessor
-
RSCG – StepwiseBuilderGenerator
RSCG – StepwiseBuilderGenerator name StepwiseBuilderGenerator nuget https://www.nuget.org/packages/StepwiseBuilderGenerator/ link https://github.com/Georgiy-Petrov/StepwiseBuilderGenerator author Georgiy Petrov Generating Builder- as steps This is how you can use StepwiseBuilderGenerator . 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/StepwiseBuilderGenerator
-
Hybrid Cache presentation
You can find the presention for HybridCache at https://ignatandrei.github.io/Presentations/HybridCacheprez.html#/hybridcache The content is Data cached Static IMemory IDistributed Hybrid
-
Poor man display errors–part 3–Display
In part 2 I have exposed the errors via the API to the world. Now I should show in a Blazor/ Razor page . It is enough to read with an HTTP call and display data. Display data in a table Because – the API that gives error can change,however it will be an array…
-
Poor man display errors–part 2 – API
The idea of previous post was that I want to display the errors from a WebApplication – composed by a backend ( WebAPI .NET Core )and frontend( Blazor ) In this post I will show what modifications I must do in the API – code in .NET Core . There are 3 steps Step1 :…
-
Poor Man Display Errors–part 1 – idea
Let’s be honest,debugging can be a pain. You build your beautiful new web app (built with a snazzy backend API like .NET Core and a Blazor frontend – you know the drill!),everything seems great…until it isn’t. Suddenly,you are hitting errors,but you’re stuck hunting for clues in endless log files. Sound familiar? Wouldn’t it be amazing…
-
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…