Building SPAs using Angular
Angular is a popular frontend framework for building web and mobile applications. It uses TypeScript, a Microsoft-created, strongly-typed language that compiles into JavaScript.
Understanding the Angular project template
ASP.NET Core has a project template specifically for Angular. Let's see what it includes.
Using Visual Studio 2017
In Visual Studio 2017, open the Part3 solution, and press Ctrl + Shift + N or go to File | Add | New Project....
In the Add New Project dialog, in the Installed list, expand Visual C#, and select .NET Core. In the center list, select ASP.NET Core Web Application, type the name as ExploreAngular, and then click on OK.
In the New ASP.NET Core Web Application - ExploreAngular dialog; select .NET Core, ASP.NET Core 2.0, and the Angular template; and click on OK.
Using Visual Studio Code
In the folder named Part3, create a folder named ExploreAngular.
In Visual Studio Code, open the ExploreAngular folder.
In Integrated Terminal, enter the following...