Consider adding --mvc flag to dotnet new angular command #204

Closed
opened 2025-08-09 17:15:24 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @PurdueGuy531 on 1/28/2018

Please consider adding --mvc flag to "dotnet new angular" command so that the resulting dotnet core app is wired-up with MVC core as well. I build a lot of 'hybrid apps' - where we utilize MVC views/controllers for some SEO friendly pages, login, change password, user profile page, etc. - easier then pre-rendered Angular.

As-is, I run your command then wire-up the MVC portions (treating it like an 'empty MVC core project') .It'd definitely be handy to have an --mvc flag if possible. OR, maybe it makes more sense to have an --angular flag on the "dotnet new mvc" command?

With the usual 'No Authentication', 'Windows Authentication', etc. authentication options and default MVC layout page and styling you get when creating a new MVC project.

Thanks again and keep up the great work!
Chris

*Originally created by @PurdueGuy531 on 1/28/2018* Please consider adding --mvc flag to "dotnet new angular" command so that the resulting dotnet core app is wired-up with MVC core as well. I build a lot of 'hybrid apps' - where we utilize MVC views/controllers for some SEO friendly pages, login, change password, user profile page, etc. - easier then pre-rendered Angular. As-is, I run your command then wire-up the MVC portions (treating it like an 'empty MVC core project') .It'd definitely be handy to have an --mvc flag if possible. OR, maybe it makes more sense to have an --angular flag on the "dotnet new mvc" command? With the usual 'No Authentication', 'Windows Authentication', etc. authentication options and default MVC layout page and styling you get when creating a new MVC project. Thanks again and keep up the great work! Chris
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#204
No description provided.