Console application template with appsettings configuration, dependency injection, and some useful extensions.
-
Make sure that you have .NET Core 3.1 installed
-
Open your terminal of choice and use the following command to download and install the latest version of the template:
dotnet new --install TH.Utility.EnhancedConsoleApplicationTemplate::1.2.5
-
Navigate to a directory where the new console app should be created
-
Use the following command (with or without optional configurations) to create your project:
dotnet new enhancedasyncconsole -n "Your Project Name Here" --title "Your Console Window Title Here"
-
Make sure that you have .NET Core 3.1 installed
-
Clone the repository (can be achieved from the command line using the following command)
git clone https://github.com/thall90/EnhancedConsoleAppTemplate.git
-
Open your terminal of choice and use the following command to install the template from the local repository directory:
dotnet new --install YourCodeDirectory/EnhancedConsoleAppTemplate/EnhancedConsole.ApplicationTemplate
-
Navigate to a directory where the new console app should be created
-
Use the following command (with or without optional configurations) to create your project:
dotnet new enhancedasyncconsole -n "Your Project Name Here" --title "Your Console Window Title Here"