RSCG–part 1

Roslyn Source Code Generators are a easy way to generate automatically code that can be injected at compile time. This code can be generated on some template file or based on existing code or both . It works by intercepting at compile time the result of compilation of the existing source code and adding to this compilation other files. It cannot modify the code, just add to it.

You can see a deep tutorial about how to do it at https://khalidabuhakmeh.com/dotnet-5-source-generators-jump-start . Also, you can read more at https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/ and at https://github.com/dotnet/roslyn/blob/master/docs/features/source-generators.cookbook.md .

There are a fair amount of them  – and I intend to detail their use .  That means

1. I will show how they can be useful for you

2. I will show examples with source code .

3. Make a video with this.