Using Visual Studio 2017 and Visual Studio Code

Start the website, as shown in the following screenshot:

Click on Fetch data, as shown in the following screenshot:

Close Chrome, and let's see how this works.

Open Startup.cs, and note that it is mostly similar to the MVC project template, except that it also does the following:

  • It uses Webpack middleware to support hot module replacement, meaning that if a developer makes a change to an Angular module while a website is running, that module's changes can be immediately pushed to the client ...

Get C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.