Creating template with parameters on line basis
How can I create a template with parameters in my case Asp.Net Core, where some lines in certain files exist only purely based on passed parameters? Like
-I true/false for Identity Server 4 and if false i shouldn't be registering the service for it in the MVC part and there shouldn't be Identity Server project? Could you point me where i can read about it?