Category: .NET

  • RSCG – CopyCat

    RSCG – CopyCat     name CopyCat nuget https://www.nuget.org/packages/Copycat/ link https://github.com/Otaman/Copycat/ author Serhii Buta Implementation of the Decorator pattern in C# – only for not implemented methods   This is how you can use CopyCat . The code that you start with is The code that you will use is   The code that is…

  • RSCG – AspectGenerator

    RSCG – AspectGenerator     name AspectGenerator nuget https://www.nuget.org/packages/AspectGenerator/ link https://github.com/igor-tkachev/AspectGenerator author Igor Tkachev AOP for methods in the same project. Uses interceptors   This is how you can use AspectGenerator . The code that you start with is The code that you will use is   The code that is generated is Code and…

  • RSCG – mocklis

    RSCG – mocklis     name mocklis nuget https://www.nuget.org/packages/mocklis/ link https://mocklis.readthedocs.io/en/latest/getting-started/index.html author Esbjörn Redmo Generating mocks from classes for unit tests   This is how you can use mocklis . 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 – RSCG_UtilityTypes

    RSCG – RSCG_UtilityTypes     name RSCG_UtilityTypes nuget https://www.nuget.org/packages/RSCG_UtilityTypes/ https://www.nuget.org/packages/RSCG_UtilityTypesCommon link https://github.com/ignatandrei/RSCG_UtilityTypes author Andrei Ignat Add omit and pick to selectively generate types from existing types   This is how you can use RSCG_UtilityTypes . The code that you start with is The code that you will use is   The code that is generated…

  • RSCG – Ling.Audit

    RSCG – Ling.Audit     name Ling.Audit nuget https://www.nuget.org/packages/Ling.Audit/ link https://github.com/ling921/dotnet-lib/ author Jing Ling Generating audit data from class implementation of interfaces   This is how you can use Ling.Audit . The code that you start with is The code that you will use is   The code that is generated is Code and pdf…

  • Aspire Blazor WebAssembly and WebAPI

      Aspire is the new visualizer – see https://github.com/dotnet/aspire I am very fond of WebAPI  –  it allows for all people to see the functionality of a site,in a programmatic way ( side note:,my nuget package,https://www.nuget.org/packages/NetCore2Blockly,allows to make workflows from your WebAPI) And Blazor WebAssembly is a nice addition that the WebAPI . I am…

  • 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  .…