Create an ASP.NET Core web service
Create your Service
Click New Project to get started. Alternatively, you can select File > New Solution from the menu.
From the .NET Core > App category, select the ASP.NET Core Web API template and click Next.
Accept the default Target Framework and click Next.
Enter “HelloWebApi” as the Project name, optionally change the Location the project will be saved, and click Create. This will create the Visual Studio solution for you, with the HelloWebApi project. Solutions can hold multiple projects and you can see a preview of what the solution structure will look like on the right-hand side.
I ran into an issue I have created my service