Creating a New ASP.NET Core Web API Project
Using Visual Studio:
-
Open Visual Studio → "Create a new project".
-
Select ASP.NET Core Web API.
-
Configure project name & location.
-
Choose .NET 8 (or latest).
Using Command Line:
dotnet new webapi -n MyFirstApi
cd MyFirstApi
dotnet run
Comments
Post a Comment