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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.