ASP.NET Core SPA

Prerequistes

  • .NET Core 1.0.1 (or later)
  • Node.js, version 6 or later
  • Single Page Application (SPA) templates
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*

SPA Templates

Benefits

  • Client side navigation
  • Server-side prerendering
  • Webpack dev middleware
  • Hot module replacement
  • Efficient production builds

EXAMPLE APP

ANGULAR

> dotnet new angular
> dotnet restore
> npm install
> dotnet run

EXAMPLES

Made with Slides.com