Building SPAs with .NET Core Just Became Really Simple
In this article, we take a quick, easy to follow look into how you can get started building single-page applications with .NET core.
Join the DZone community and get the full member experience.Join For Free
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.
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 shipped three NuGet packages to assist with the development of Single Page Applications (SPAs) which include templates for:
- 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).
All of this goodness is located on the Microsoft WebDev Blog.
Published at DZone with permission of Jonathan Danylko, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.