Creating ASP.NET Core Project using Visual Studio IDE
We will now create an ASP.NET Core Web API application using Visual Studio 2017 IDE. Ensure this prerequisite before starting:
- Install Visual Studio 2017 (do select the .NET Core SDK options while installation). We will be using the community edition all the way. ASP.NET Core 2.0 Preview 2 is used throughout this book
Let's get started with building the ASP.NET Core Web API step by step:
- Open Visual Studio 2017 IDE, click on
New Project
to open the project templates dialog. - Under Visual C# Templates, click on
.NET Core
, and selectASP.NET Core Web Application
as shown in the following screenshot:

Create ASP.NET Core project in Visual Studio 2017 IDE
Note
We can also create an ASP.NET Core web application targeting the full .NET framework by web template under the Visual C# section
- Provide an appropriate project name like
MyFirstCoreApi
, click onOK
.
Choosing the application type
ASP.NET Core provides us different application templates to start...