[Link] Build SPA on ASP.NET Core with JavaScript Services
insights Stats
Great introduction about JavaScriptServices (JavaScriptServices GitHub repository):
Microsoft.AspNetCore.SpaTemplates
plugs intodotnet new
, providing project templates for Angular 2, Aurelia, Knockout, React, and React+Redux applications.
dotnet new -l
Templates Short Name Language Tags
------------------------------------------------------------------------------------------
Console Application console [C#], F# Common/Console
Class library classlib [C#], F# Common/Library
Unit Test Project mstest [C#], F# Test/MSTest
xUnit Test Project xunit [C#], F# Test/xUnit
ASP.NET Core Empty web [C#] Web/Empty
ASP.NET Core Web App mvc [C#], F# Web/MVC
MVC ASP.NET Core with Angular angular [C#] Web/MVC/SPA
MVC ASP.NET Core with Aurelia aurelia [C#] Web/MVC/SPA
MVC ASP.NET Core with Knockout.js knockout [C#] Web/MVC/SPA
MVC ASP.NET Core with React.js react [C#] Web/MVC/SPA
MVC ASP.NET Core with React.js and Redux reactredux [C#] Web/MVC/SPA
MVC ASP.NET Core with Vue.js vue [C#] Web/MVC/SPA
ASP.NET Core Web API webapi [C#] Web/WebAPI
Solution File sln Solution
Microsoft.AspNetCore.SpaServices
is howSpaTemplates
-produced projects work internally. It provides useful features for SPA applications, such as server-side rendering for Angular and React applications, plus integration with Webpack build middleware.Microsoft.AspNetCore.NodeServices
is howSpaServices
works internally. It’s a low-level library that gives a fast, robust way for ASP.NET Core applications to run arbitrary JavaScript code on the server.