Installation
Make sure to select “ASP.NET Core 2.1” from the version dropdown and choose Angular. Visual Studio will create an ASP.NET Core 2.1 based project with Angular 5 configured.
Now, right-click on the ClientApp and go to OpenContaining Folder and write cmd like this.
Run the command ng build
Here, the system is showing an error - angular.json could not be found, now fix this issue.
Write the command cd.. for going back to the previous directory
Write command dotnet run
Now, close this cmd and open the cmd from ClientApp and run the command ng build
Complete your build then run your app and it will look like this.