SPA app under Visual Studio and Asp.Net
create a simple Asp.Net Core application with Angular.js as frontend.
Angular as SPA
application in this case is a SPA Single Page Application.
that virtually the complete MVC model, the views and the controller are managed
in the Angular code. At startup, Angular is embedded in Asp.Net Core and called
application will start under /ClientApp/index.html.
loaded as Typescript as code page and is linked to the HTML front page.
Angular.js as a script
perform more complex functions and operations.
Visual Studio 2017 and Asp.net Core
Angular.js to run as a web application, Node.js must first be installed on the
10, select the Windows Installer-> Windows Intaller (.msi) 64-bit
the download start the installation
installation directory for node.js is C: \ Program Files \ nodejs \
Setup leave all components enabled
core Node.js runtime (node.exe)
Create Asp-Core project with
Angular SPA frontend
Studio, go to Menu-> File-> New Project
choose ASP.NET Core Web Application
can under Asp.Net Core 2.1 also select the template: Angular
template for creating Asp.Net Core application with Angular
Authentication does not change this template
starting the first web application, the Windows Defender queries whether
Angular.js can be started as a web application at https: // localhost: 44390
Studio 2015/2017 you can find a detailed introduction at https://angular.io/guide/visual-studio-2015
the QuickStart source from GitHub