Microsoft.AspNetCore.Hosting.WindowsServices Namespace

Contains types used to host a web application inside a Windows Service.

Classes

WebHostService

Provides an implementation of a Windows service that hosts ASP.NET Core.

WebHostWindowsServiceExtensions

Extensions to IWebHost for hosting inside a Windows service.

Remarks

For more information about using ASP.NET Core with Windows Services, see Host ASP.NET Core in a Windows Service.