Category: .NET
-
RSCG – jos.enumeration
name jos.enumeration nuget https://www.nuget.org/packages/jos.enumeration/ link https://github.com/joseftw/jos.enumeration author Josef Ottosson Generating enum from static consts This is how you can use jos.enumeration . 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/jos.enumeration
-
TestExtensionsAspire- part 2- execution
Now the code mans to create commands about running dotnet <test or run> in the current folder of the csproj test project. Things that needed to be solved: 1. Test Project as NuGet Package The main project (.csproj) , that will be referenced as a NuGet dependency, it’s not an Aspire project, so it doesn’t…
-
TestExtensionsAspire- part 1 – idea
I know that Aspire could be used to perform integration test. And this can be achieved by having a test project that references Aspire – see https://learn.microsoft.com/en-us/dotnet/aspire/testing/write-your-first-test?pivots=xunit . However, how about allowing your test project ( even unit test project ) to run under Aspire Host ? Of course, Aspire will reference the test –…
-
RSCG – Strings.ResourceGenerator
RSCG – Strings.ResourceGenerator name Strings.ResourceGenerator nuget https://www.nuget.org/packages/Strings.ResourceGenerator/ link https://github.com/biggik/Strings.ResourceGenerator author Birgir Kristmannsson Generating strongly typed string resources – with parameter and Localization This is how you can use Strings.ResourceGenerator . The code that you start with is The code that you will use is The code that is generated is Code…
-
RSCG – Figgle
RSCG – Figgle name Figgle nuget https://www.nuget.org/packages/Figgle.Generator/ link https://github.com/drewnoakes/figgle author Drew Noakes Generating ASCII art text for console applications This is how you can use Figgle . 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 – SuperFluid
RSCG – SuperFluid name SuperFluid nuget https://www.nuget.org/packages/SuperFluid/ link https://github.com/hughesjs/SuperFluid author James Hughes Generate a state machine from a yaml file This is how you can use SuperFluid . The code that you start with is The code that you will use is The code that is generated is Code and pdf…
-
SqlExtensionsAspire–part 2–code
I wanted the code to be easy used by any programmer that uses SqlServer in ASPIRE , such as For this to work, I create extensions – you can see them at https://github.com/ignatandrei/aspireExtensions/blob/main/src/SqlServerExtensions/SqlExtensionsAspire/SqlServerExtensions.cs Some problems that I solved 1. Versioning The Aspire version was 9.3 , so my version of the nuget SqlExtensionsAspire is 93.2025.208.1818…
-
SqlExtensionsAspire–part 1–idea
Aspire is a popular orchestrator for managing projects and Docker containers in the .NET ecosystem. While it’s primarily known for .NET, Aspire also supports other technologies like Node.js, Python, and more. Since I use SQL Server as my database, I found myself needing a few essential features: Execute pre-defined SQL commands at database creation timeI…
-
RSCG – DimonSmart.BuilderGenerator
RSCG – DimonSmart.BuilderGenerator name DimonSmart.BuilderGenerator nuget https://www.nuget.org/packages/DimonSmart.BuilderGenerator/ link https://github.com/DimonSmart/BuilderGenerator author Dmitry Dorogoy Generating builder pattern code for classes This is how you can use DimonSmart.BuilderGenerator . 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/DimonSmart.BuilderGenerator
-
RSCG – BunnyTailServiceRegistration
name BunnyTailServiceRegistration nuget https://www.nuget.org/packages/BunnyTail.ServiceRegistration/ link https://github.com/usausa/service-registration-generator author Machi Pon Generating service registration code from attributes This is how you can use BunnyTailServiceRegistration . 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/BunnyTailServiceRegistration