How can I add and create new razor pages and folders via code using Asp.NET Core?
1 Answer
According to your needs, I think you want a hint similar to the code generator.
You can use T4 Text Templates for code generation.
I suggest you read the code of Generator-ASP.NET-Core-MVC, it should help you.
