aspnet / Hosting

[Archived] Code for hosting and starting up an ASP.NET Core application. Project moved to https://github.com/aspnet/Extensions and https://github.com/aspnet/AspNetCore
Apache License 2.0
552 stars 312 forks source link

Create an infrastructure/guidance for using WebHost with generic host and a single container #1541

Closed pakrym closed 5 years ago

pakrym commented 6 years ago

@Tratcher @davidfowl

We need to start pointing people to the right way of doing web host inside the generic host without having 3 containers.

davidfowl commented 6 years ago

This is the plan for 3.0. It's why generic host doesn't have a Startup class or a second and third container.

pakrym commented 6 years ago

We need to adapt https://github.com/aspnet/MetaPackages/blob/master/src/Microsoft.AspNetCore/WebHost.cs to work nicely in the generic host.

Tratcher commented 6 years ago

Current guidance: don't. We'll get this sorted out in 3.0.

davidfowl commented 6 years ago

Right, it's not a 2.2 work item. There isn't enough time to do anything good.

davidfowl commented 5 years ago

Closing in favor of #1544