-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Decouple the Kestrel transport layer from Microsoft.AspNetCore.Hosting #11479
Copy link
Copy link
Open
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersapi-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.This issue / pr will introduce a breaking change, when resolved / merged.enhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing oneseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool🥌 Bedrock
Milestone
Metadata
Metadata
Assignees
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersapi-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.This issue / pr will introduce a breaking change, when resolved / merged.enhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing oneseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool🥌 Bedrock
Type
Fields
Give feedbackNo fields configured for Feature.
Both Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets and Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv depend on Microsoft.AspNetCore.Hosting because they expose extension methods on
IWebHostBuilder, with the move to generic host and exposing the ability to create client connections from these transports (#10872), it's odd to have this dependency.It seems like to preserve
UseSocketsandUseLibuv, we'll need to have extensions methods like these somewhere, either on theIWebHostBuilderor on theIServiceCollection. It seems like we'll need to introduce new packages to that have just the code without the extensions and another one that has the wire up code (much like we have the kestrel meta package today).cc @shirhatti @anurse