Skip to content
/ selfhost Public template

.NET 8 self-hosting Console App

Notifications You must be signed in to change notification settings

NetCoreTemplates/selfhost

Repository files navigation

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