Skip to content

Obsolete Microsoft.AspNetCore.Hosting.WindowsServices #63017

@BrennanConroy

Description

@BrennanConroy

Can we also obsolete the entire Microsoft.AspNetCore.Hosting.WindowsServices package that contains WebHostService? If you're not using WebHostBuider, you should be able to replace it with Microsoft.Extensions.Hosting.WindowsServices and WindowsServiceLifetime. See https://learn.microsoft.com/aspnet/core/host-and-deploy/windows-service

Also, should we obsolete IWebHost itself? That would make sense to me if using WebHostBuilder is the only common way to get one. Either that, or we could consider implementing it in WebApplication, but I don't think it's worth it. Most people can use IHost instead of IWebHost.

Originally posted by @halter73 in #62785 (comment)

Metadata

Metadata

Assignees

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions