The .NET Console App template:
- From Visual Studio:
- Or command-line:
dotnet new console --framework net8.0 --use-program-main
generates a very basic Console App.
The template lacks important and useful features:
- Logging,
- Configuration / Application settings,
- Separation of "doing something (modules/pluging/interfaces)" from "launching the program (core)", which is close to a Microkernel architecture pattern,
- Dependency Injection (for adaptive coding and unit test capabilities),
- Asynchronous programming (recommended to use with WebAPI REST calls and Cloud (Azure) resources).
So I created this template that adds all of these built-in.
It allows me to get started fast for all my coding Proof of Concepts.
Enjoy,
Emmanuel.
It is a starting point.
There are a lots of features and practices that can, and should, be added.
I use .NET 8 LTS
version. It is a personal choice, not a recommendation.
This is a WAY BETTER starting point than the default "Console App".