24 Sept 2019

Getting started ASP.NET Core (Web API Project)

1. Install .NET Core SDK

2. Test
dotnet --version

3. Create project from a template
dotnet new webapi -o myApp

or

dotnet new webapp -o myWebApp --no-https

The -o parameter creates a directory named myApp where app is stored

4. Navigate into the project's folder and run
dotnet run

Additional

Run the following commands to install the required packages

dotnet restore

No comments:

Post a Comment

Popular Posts