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:
- Has dependency injection usage examples (DemoService)
- Docker container support
- Has GitHub actions to build a container
- Uses centralized package management
- Has a VSCode launch profile
- Has a devcontainer to launch in GitHub Codespaces or within VSCode itself as a remote container
- 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.
- Built-in example assumes Azure App Registration has
cd src/
docker build -t dotnet-basic-console:latest .
docker run --rm dotnet-basic-console:latest