Building SPAs with .NET Core Just Became Really Simple

Not even a week ago, I explained how to create an Aurelia app in Visual Studio. Today, an update to .NET Core provides new templates to speed up your SPA development experience.

Written by Jonathan "JD" Danylko • Last Updated: • Mobile •
dotnet new SPA templates

What an awesome Valentine's Day gift! (yeah, I need to get out more) ;-)

After JUST posting something about how to write Aurelia applications with Visual Studio, Microsoft ships three NuGet packages to assist with the development of Single Page Applications (SPAs) which include templates for:

  • Angular
  • Aurelia
  • Knockout
  • React
  • React with Redux

To actually use these templates in your development environment, you have two choices: command-line or Visual Studio 2017 RC.

When you generate a project, it creates a .csproj file for you along with the project files. If you have Visual Studio 2015, you won't be able to load the .csproj project. You need Visual Studio 2017 RC.

Alternatively, you can use the command line to create these projects and type dotnet run at the command line to view the project in the browser (which is what I did).

Even though I'm not providing any value with this short post, I wanted to spread the word as to how Microsoft is continuing to improve on their development tools by integrating various JavaScript frameworks to assist front-end developers in building their SPA's even quicker.

All of this goodness is located on Microsoft WebDev Blog at https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core-with-javascriptservices/.

Enjoy (and Happy Valentine's Day!)

ASP.NET 8 Best Practices on Amazon

ASP.NET 8 Best Practices by Jonathan Danylko


Reviewed as a "comprehensive guide" and a "roadmap to excellence" with over 120 Best Practices for ASP.NET Core 8, Jonathan's first book by Packt Publishing explores proven techniques for every phase of the SDLC.

Learn industry-standard concepts to improve your coding, debugging, and deployment of ASP.NET Core websites.

Order now on Amazon.com button

Picture of Jonathan "JD" Danylko

Jonathan "JD" Danylko is an author, web architect, and entrepreneur who's been programming for over 30 years. He's developed websites for small, medium, and Fortune 500 companies since 1996.

He currently works at Insight Enterprises as an Architect.

When asked what he likes to do in his spare time, he replies, "I like to write and I like to code. I also like to write about code."

comments powered by Disqus