Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.16 KB

dotnet-setup.md

File metadata and controls

34 lines (24 loc) · 1.16 KB
ms.topic ms.service ms.manager ms.author author ms.date
include
azure-devops-pipelines
mijacobs
jukullam
juliakm
12/01/2023

Create a .NET project

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 .

  1. Open a terminal window.

  2. Create a project directory and navigate to it.

  3. Create a new .NET 8 webapp.

    dotnet new webapp -f net8.0
    
  4. From the same terminal session, run the application locally using the dotnet run command from your project directory.

    dotnet run
    
  5. Once the application has started, press Ctrl-C to shut it down.

Create a git repo and connect it to GitHub

  1. From the project directory, create a local git repository and commit the application code to the main branch.

  2. Connect your local Git repo to a GitHub repo.