/selfhost

.NET 8 self-hosting Console App

Primary LanguageC#

selfhost

.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 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