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

Repository files navigation

Basic .NET 8 Console App

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 8 console app which:

  1. Has dependency injection usage examples (DemoService)
  2. Docker container support
  3. Has GitHub actions to build a container
  4. 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.
  5. devcontainer configured - only need container runtime, not dotnet locally installed (TODO)

Build & Run Docker container

cd BasicConsole/
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