You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET 6 brought new builder types inheriting from IHostApplicationBuilder that refactor how to developers may build web / console hosts with fewer callbacks: Comparing WebApplicationBuilder to the Generic Host
@pedropaulovc thank you for opening this issue, and I agree that not being compatible with the IHostApplicationBuilder model is not ideal. After thinking on this, I think my preferred approach would be to move to work off exclusively IServiceCollection and no longer rely on IHostBuilder or IHostApplicationBuilder at all - this will entirely avoid the need to upgrade the Microsoft.Extensions.* packages.
If you want to take on that work it would be greatly appreciated, as I am not sure when I get around to that.
.NET 6 brought new builder types inheriting from
IHostApplicationBuilder
that refactor how to developers may build web / console hosts with fewer callbacks: Comparing WebApplicationBuilder to the Generic HostThe old
IHostBuilder
pattern remains supported. A comparision of how both initializations can work is:IHostBuilder
IHostApplicationBuilder
The text was updated successfully, but these errors were encountered: