Here, we will create a new stand-alone Web API project without MVC project.
For this, open Visual Studio 2019 for Web -> go to File menu and select New Project.. This will open New Project popup as below.
Create Web API Project
Select Web template in the left pane and ASP.NET Web Application in the middle pane. Enter a name of the project, location and Solution name as shown above. Clicking on OK will open a popup as shown below.
Want to print your doc? This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (