Ninject.Web.AspNetCore icon indicating copy to clipboard operation
Ninject.Web.AspNetCore copied to clipboard

Update code to use WebApplication.CreateBuilder

Open lord-executor opened this issue 2 months ago • 0 comments

With https://github.com/aspnet/Announcements/issues/526, Microsoft has deprecated the WebHostBuilder, IWebHost, and WebHost in favor of the newer HostBuilder and WebApplication.CreateBuilder. Since the configuration model of Ninject.Web.AspNetCore is currently very directly tied to the capabilities of the WebHostBuilder, it seems likely that updating to the new APIs will incur some breaking changes and as such requires some careful consideration. Even if breaking changes aren't actually needed it might still be a good idea to change some of the configuration API surface to make it easier to apply customizations.

lord-executor avatar Nov 16 '25 13:11 lord-executor