Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1 KB

README.md

File metadata and controls

24 lines (18 loc) · 1 KB

Basic .NET 9 Console App

Open in GitHub Codespaces

Yes, there are much less verbose starting projects. No, you do not need all this stuff to play with .NET.

Quickly clone this repository to get a .NET 9 console app which:

  1. Has dependency injection usage examples (DemoService)
  2. Docker container support
  3. Has GitHub actions to build a container
  4. Uses centralized package management
  5. Has a VSCode launch profile
  6. Has a devcontainer to launch in GitHub Codespaces or within VSCode itself as a remote container
  7. Example getting AccessToken from Azure AD following client credentials flow (for daemons)
    • Built-in example assumes Azure App Registration has Microsoft Graph : User.Read.All application permission granted.

Build & Run as Docker container

cd src/
docker build -t dotnet-basic-console:latest .
docker run --rm dotnet-basic-console:latest