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

Deprecate IHostBuilder #1539

Closed davidfowl closed 5 years ago

davidfowl commented 6 years ago

In hindsight, IHostBuilder and IWebHostBuilder were mistakes. There's no need to have these be abstractions. The concrete class should be good enough. We can't do much about IWebHostBuilder right now but we can start to write extension methods on top of HostBuilder instead of IHostBuilder.

cc @Tratcher @glennc

davidfowl commented 5 years ago

Lets not do this for now. We'll see if it still makes sense when we move things to the generic host.