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:
- Has dependency injection usage examples (DemoService)
- Docker container support
- Has GitHub actions to build a 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
- devcontainer configured - only need container runtime, not dotnet locally installed (TODO)
cd BasicConsole/
docker build -t dotnet-basic-console:latest .
docker run --rm dotnet-basic-console:latest