Let's take a look at building your first ASP.NET Core app. In this recipe, we will just create a very basic ASP.NET Core application and briefly discuss the Startup class. Further reading on the subject will be required and is not included in this brief introduction to ASP.NET Core.
Creating your first ASP.NET Core application
Getting ready
Start off by creating a new project in Visual Studio 2017. Under Visual C#, select the .NET Core node and click on the ASP.NET Core Web Application.... Click on OK:
You will then be presented with the project template selection. You can choose to create an empty application, a Web API (allows you to create an HTTP-based API), or a full Web Application. Select the Empty template, make sure that Host in the cloud is unchecked...