Category: .NET
-
Watch2- part 3 -refactoring to interfaces and test
The Watch2 just intercepts the dotnet watch,adds a clear console,and a delay to give a breather between running the app and the tests. So I need to have tests – if I want to be sure what the software does and to modify it without summoning the coding gremlins. More importantly,the output from dotnet watch…
-
Watch2- part 2- first fast implementation
The first attempt to writing the code was very fast – and,surely,not testable. (Speedy Gonzales would be proud!) Some observations: 1. If you start any process inside a console application,you should intercept the cancel signal and stop the process. This is done by using the CancelKeyPress event of the Console class. This is important because…
-
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…
-
RSCG – RazorSlices
RSCG – RazorSlices name RazorSlices nuget https://www.nuget.org/packages/RazorSlices/ link https://github.com/DamianEdwards/RazorSlices author Damiam Edwards Generating html from razor templates. Attention: generates IHttpResult,not html string. This is how you can use RazorSlices . The code that you start with is The code that you will use is The code that is generated is Code…
-
RSCG – TypedSignalR.Client
RSCG – TypedSignalR.Client name TypedSignalR.Client nuget https://www.nuget.org/packages/TypedSignalR.Client/ link https://github.com/nenoNaninu/TypedSignalR.Client author nenoNaninu Creating typed Signal R clients This is how you can use TypedSignalR.Client . 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/TypedSignalR.Client
-
RSCG – MinimalHelpers.Routing.Analyzers
RSCG – MinimalHelpers.Routing.Analyzers name MinimalHelpers.Routing.Analyzers nuget https://www.nuget.org/packages/MinimalHelpers.Routing.Analyzers/ link https://github.com/marcominerva/MinimalHelpers author Maroc Minerva Controller like API registering This is how you can use MinimalHelpers.Routing.Analyzers . 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/MinimalHelpers.Routing.Analyzers
-
RSCG – Dusharp
RSCG – Dusharp name Dusharp nuget https://www.nuget.org/packages/Dusharp/ link https://github.com/kolebynov/Dusharp author Vitali Generate tagged union This is how you can use Dusharp . 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/Dusharp
-
RSCG – LightweightObjectMapper
RSCG – LightweightObjectMapper name LightweightObjectMapper nuget https://www.nuget.org/packages/LightweightObjectMapper/ link https://github.com/stratosblue/LightweightObjectMapper author Stratos Generating function to map DTOs This is how you can use LightweightObjectMapper . 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/LightweightObjectMapper
-
RSCG – Enhanced.GetTypes
RSCG – Enhanced.GetTypes name Enhanced.GetTypes nuget https://www.nuget.org/packages/Enhanced.GetTypes/ link https://github.com/duskembayev/Enhanced.GetTypes author duskembayev Generating list of PUBLIC classes that implements an interface This is how you can use Enhanced.GetTypes . The code that you start with is The code that you will use is The code that is generated is Code and pdf…
-
RSCG – Immediate.Handlers
RSCG – Immediate.Handlers name Immediate.Handlers nuget https://www.nuget.org/packages/Immediate.Handlers/ link https://github.com/immediateplatform/Immediate.Handlers author Stuart Turner Generating mediator like handlers This is how you can use Immediate.Handlers . 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/Immediate.Handlers