.NET 5 source generator tutorial. Shows a solution to some of the problems I faced while using source generator:
- Ability to generate js / vue / jsx files based on C# models and controllers
- Project structure - more than one assembly
- Access to the main project directory
- Access to the settings file
- Using third party libraries inside the generator, for example Newtonsoft.Json
- Using my custom assemblies inside the generator
- Access to classes / types of controllers and models located in different assemblies
- Debugging
Article (RU) https://habr.com/ru/post/542300/