Setting up the project

Let's set up this project:

  1. Using Visual Studio 2017, we will create an ASP.NET Core Web Application. You can call the application anything you like, but I called mine Chapter5:
  1. We'll go with an empty project template. Be sure to select ASP.NET Core 2.0 from the dropdown:

The project will be created and will look as follows:

Get C# 7 and .NET Core 2.0 Blueprints 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.