/ConsoleHostTemplate

dotnet core template for creating a console app that uses Microsoft.Extensions.Hosting

Primary LanguageC#Apache License 2.0Apache-2.0

Console Host Template

dotnet core template for creating a console app that uses Microsoft.Extensions.Hosting

Install the template

Clone the repository and then from a command prompt:-

dotnet new -i <pathtotemplate>

Create a console app

First install the template.

When the template has been installed, use the following from a command prompt:-

dotnet new conhost -n <appname>

Nuget

The Nuget package can be found at https://www.nuget.org/packages/ServantSoftware.ConsoleHost

To install the template from the command line

dotnet new -i ServantSoftware.ConsoleHost

References

The following resources were used when creating this project