dotnet new webapi

The CLI command that creates a new ASP.NET Core API project.

What does dotnet new webapi do?

dotnet new webapi creates a new ASP.NET Core API project from Microsoft's template, ready to run.

dotnet new webapi -n RecipeBox.Api
cd RecipeBox.Api
dotnet run

Level: Novice · More ASP.NET Core terms at this level

Updated