Category: .NET Core
-
Aspire,containers and dotnet watch
Aspire is the new visualizer – see https://github.com/dotnet/aspire If you use dotnet run ( or Visual Studio) with an Aspire host that instantiate some containers ,then,when you stop the project,the container is released. But,if you use dotnet watch run –no–hot–reload then the containers are not deleted. The nice solution is to investigate dotnet watch and Aspire…
-
Aspire,Sql Server Docker Container and multiple Connections strings
Aspire is the new visualizer – see https://github.com/dotnet/aspire When creating a Docker container with Sql Server,the connection that is returned is without database – means that,usually,is connecting to the master. That’s not that we usually want,so the following code is means that WebAPI will be connected to master Instead,do what they do – but add…
-
[ADCES] Presentation .NET 8
You can find the presentation about .NET 8 at https://ignatandrei.github.io/Presentations/Net8WhatsNewprez.html#1 . Also,the code is at https://ignatandrei.github.io/Presentations/Net8WhatsNew.zip
-
Deploy Blazor WASM to Github Pages in 7 steps
Assumptions: You have an Blazor Interactive WebAssembly ( CSR ),not a Server ( static or interactive) I will make as the repo is https://github.com/ignatandrei/tilt . Change my name with yours and TILT with your repo So let’s start Step 1 You must configure GitHub Pages – create a docs folder and put an index.html .…
-
RSCG – TelemetryLogging
RSCG – TelemetryLogging name TelemetryLogging nuget https://www.nuget.org/packages/Microsoft.Extensions.Telemetry.Abstractions/ link https://andrewlock.net/behind-logproperties-and-the-new-telemetry-logging-source-generator/ author Microsoft Generating deep logging messages for a class This is how you can use TelemetryLogging . 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/TelemetryLogging
-
RSCG – InterceptorTemplate
RSCG – InterceptorTemplate name InterceptorTemplate nuget https://www.nuget.org/packages/RSCG_InterceptorTemplate/ link https://github.com/ignatandrei/RSCG_InterceptorTemplate author Andrei Ignat Andrei Ignat This is how you can use InterceptorTemplate . 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/InterceptorTemplate
-
RSCG – Com
RSCG – Com name Com nuget https://www.nuget.org/packages/System.Runtime.InteropServices/ link https://learn.microsoft.com/en-us/dotnet/standard/native-interop/comwrappers-source-generation author Microsoft Generating Com Declarations This is how you can use Com . 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/Com
-
RSCG – RDG
RSCG – RDG name RDG nuget https://www.nuget.org/packages/Microsoft.Extensions.Http link https://learn.microsoft.com/en-us/aspnet/core/fundamentals/aot/request-delegate-generator/rdg?view=aspnetcore-8.0 author Microsoft Generating replacing for minimal API Map This is how you can use RDG . 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/RDG
-
RSCG – Microsoft.Extensions.Configuration.Binder
RSCG – Microsoft.Extensions.Configuration.Binder name Microsoft.Extensions.Configuration.Binder nuget https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Binder/ link https://github.com/dotnet/runtime author Microsoft Generating Binding for configuration files This is how you can use Microsoft.Extensions.Configuration.Binder . 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/Microsoft.Extensions.Configuration.Binder
-
RSCG – Microsoft.Extensions.Options.Generators.OptionsValidatorGenerator
RSCG – Microsoft.Extensions.Options.Generators.OptionsValidatorGenerator name Microsoft.Extensions.Options.Generators.OptionsValidatorGenerator nuget https://www.nuget.org/packages/Microsoft.Extensions.Options link https://learn.microsoft.com/en-us/dotnet/core/extensions/options-validation-generator author Microsoft Generating the validation for data annotations on options classes. This is how you can use Microsoft.Extensions.Options.Generators.OptionsValidatorGenerator . The code that you start with is The code that you will use is The code that is generated is Code and pdf…