.NET 6.0 self-hosting Kestrel Console App
This self-host template represents an .NET Core Web App with the minimum starting dependencies & configuration. For an empty .NET Core Web App with the recommended starting configuration use the web project template instead.
Browse source code, view live demo selfhost.web-templates.io and install with dotnet-new:
$ dotnet tool install -g x
$ x new selfhost ProjectName
Alternatively write new project files directly into an empty repository, using the Directory Name as the ProjectName:
$ git clone https://github.com/<User>/<ProjectName>.git
$ cd <ProjectName>
$ x new selfhost