Creating an ASP.NET Core Web API Project

Learn about creating an ASP.NET Core Web API project, covering project setup, structure, and a sample controller for weather forecasts.

Build a web service using ASP.NET Core

We will build a web service that provides a way to work with data in the Northwind database using ASP.NET Core so that the data can be used by any client application on any platform that can make HTTP requests and receive HTTP responses:

Step 1: Use your preferred code editor to open the PracticalApps solution/workspace and then add a new project, as defined in the following list:

  • Project template: ASP.NET Core Web API or webapi

  • Workspace or solution file and folder: PracticalApps

  • Project file and folder: Northwind.WebApi

Get hands-on with 1400+ tech skills courses.