-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone
Description
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 abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions