Category: .NET Core

  • RSCG – ThisAssembly.Strings

    RSCG – ThisAssembly.Strings     name ThisAssembly.Strings nuget https://www.nuget.org/packages/ThisAssembly.Strings/ link https://github.com/devlooped/ThisAssembly author Daniel Cazzulino generating code from resx files   This is how you can use ThisAssembly.Strings . 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/ThisAssembly.Strings

  • NetPackageAnalyzer- idea –part 1

    I wanted to have a tool that can analyze a C# solution with all the dependencies ( project relations,packages,commits) It generates a graph of the dependencies for the packages of your solution ( and see when the major version of a package differs between projects) the projects of your solution. the project dependencies of each…

  • RSCG – ActorSrcGen

        name ActorSrcGen nuget https://www.nuget.org/packages/ActorSrcGen/ link https://github.com/aabs/ActorSrcGen author Andrew Matthews Generating source code for actors in C#.   This is how you can use ActorSrcGen . 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/ActorSrcGen

  • Pattern: AbstractFactory

    Description Abstract Factory is a creational design pattern that lets you produce families of related objects without specifying their concrete classes. Example in .NET : AbstractFactory Learn More Source Code for Microsoft implementation of AbstractFactory SourceCode DbConnection Learn More Wikipedia } Homework Imagine you want to produce loggers. You have a logger that logs to…

  • Pattern: Flyweight

    Description Flyweight pattern is used to reduce the memory and resource usage for complex models containing a large number of similar objects. Example in .NET : Flyweight Learn More Source Code for Microsoft implementation of Flyweight SourceCode String.Intern Learn More Wikipedia } Homework Make an exchange rate system. The symbol and names of the currency…

  • Pattern: Observer

    Description Observer pattern is a behavioral design pattern that defines a one-to-many dependency between objects so that when one object changes state,all its dependents are notified and updated automatically. Example in .NET : Observer Learn More Source Code for Microsoft implementation of Observer SourceCode INotifyPropertyChanged Learn More Wikipedia } Homework Imagine you have a logger…

  • RSCG – MSTest

    name MSTest nuget https://www.nuget.org/packages/MSTest.SourceGeneration/ link https://github.com/microsoft/testfx author Microsoft AOP for MSTest   This is how you can use MSTest . 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/MSTest

  • RSCG – Minerals.AutoMixins

        name Minerals.AutoMixins nuget https://www.nuget.org/packages/Minerals.AutoMixins/ link https://github.com/SzymonHalucha/Minerals.AutoMixins author Szymon Halucha Generate Mixin from another classes   This is how you can use Minerals.AutoMixins . 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/Minerals.AutoMixins

  • RSCG – ThisClass

        name ThisClass nuget https://www.nuget.org/packages/ThisClass/ link https://github.com/trympet/ThisClass author Trym Lund Flogard Generate full class name from class   This is how you can use ThisClass . 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/ThisClass

  • RSCG – RossLean.StringificationGenerator

        name RossLean.StringificationGenerator nuget https://www.nuget.org/packages/RossLean.StringificationGenerator/ link https://github.com/RossLean/RossLean/ author Alex Kalfakakos Generating constructor code as string   This is how you can use RossLean.StringificationGenerator . 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/RossLean.StringificationGenerator