Leverage cookiecutter and use this repository as a template for your next .NET Core console application.
As a developer, creating a console application is often the easiest way to perform basic actions. Having a template should remove some bolier-plate code from each of the applications that you write. It should also help to enforce best practices are adhered to.
- .NET Core 3.1
- Dependency Injection using the built-in ServiceCollection
- Strongly typed command-line arguments via CommandLineParser
- Unit testing via NUnit and FluentAssertions
- Install git
- Install .NET Core 3.1 SDK
- Install cookiecutter - guidance
- Open CMD prompt/bash (shell of choice)
- Navigate to the directory you want your application to sit in
- Decide on a project name
- Execute
cookiecutter https://github.com/mikerogers123/Dotnet.Cli.CookieCutter.git
, supplying your desired project name when prompted