Skip to content

Start an app from this template! Easy "start here" that has things I frequently like to have for proof of concept purposes.

Notifications You must be signed in to change notification settings

mitch-b/dotnet-basic-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Start an app from this template! Easy "start here" that has things I frequently like to have for proof of concept purposes.

Topics

Resources

Stars

Watchers

Forks

Packages