Confusing Template Segregation #498

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

Originally created by @MiniverCheevy on 8/16/2017

Prior to the 1.0.0 release of Microsoft.AspNetCore.SpaTemplates the react and angular templates were included. These have been moved to the Microsoft.DotNet.Web.Spa.ProjectTemplates. I cannot find where this was announced anywhere and a new install of both the .net Core 2.0 SDK and Visual Studio 2017.3 does not install them.

If you google "dotnet new react" the first entry takes you to Hanselman's blog post which instructs you to get the templates by running

dotnet new --install Microsoft.AspNetCore.SpaTemplates::*

If Microsoft.DotNet.Web.Spa.ProjectTemplates is intentionally the new permanent home it should be mentioned in the Microsoft.AspNetCore.SpaTemplates package description somewhere. Also, it might be wise to deprecate the existing the existing Microsoft.AspNetCore.SpaTemplates package and rename it to Microsoft.DotNet.Web.Spa.ProjectTemplates.Extras or something to make it a little more discoverable.

*Originally created by @MiniverCheevy on 8/16/2017* Prior to the 1.0.0 release of Microsoft.AspNetCore.SpaTemplates the react and angular templates were included. These have been moved to the Microsoft.DotNet.Web.Spa.ProjectTemplates. I cannot find where this was announced anywhere and a new install of both the .net Core 2.0 SDK and Visual Studio 2017.3 does not install them. If you google "dotnet new react" the first entry takes you to Hanselman's blog [post ](https://www.hanselman.com/blog/dotnetNewAngularAndDotnetNewReact.aspx) which instructs you to get the templates by running `dotnet new --install Microsoft.AspNetCore.SpaTemplates::*` If Microsoft.DotNet.Web.Spa.ProjectTemplates is intentionally the new permanent home it should be mentioned in the Microsoft.AspNetCore.SpaTemplates package description somewhere. Also, it might be wise to deprecate the existing the existing Microsoft.AspNetCore.SpaTemplates package and rename it to Microsoft.DotNet.Web.Spa.ProjectTemplates.Extras or something to make it a little more discoverable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#498
No description provided.