ms.topic | ms.service | ms.manager | ms.author | author | ms.date |
---|---|---|---|---|---|
include |
azure-devops-pipelines |
mijacobs |
jukullam |
juliakm |
12/01/2023 |
If you don't have a .NET project to work with, create a new one on your local system. Start by installing the latest .NET 8.0 SDK .
-
Open a terminal window.
-
Create a project directory and navigate to it.
-
Create a new .NET 8 webapp.
dotnet new webapp -f net8.0
-
From the same terminal session, run the application locally using the
dotnet run
command from your project directory.dotnet run
-
Once the application has started, press Ctrl-C to shut it down.
-
From the project directory, create a local git repository and commit the application code to the main branch.