-
Hi, The startup template comes with the new HostBuilder integration, but we still rely on the WebHostBuilder internal static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
})
.UseAutofac()
.UseSerilog(); I wonder if anyone managed to get autofac integration with the old WebhostBuilder ?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
hi Why can't you use Generic Host? |
Beta Was this translation helpful? Give feedback.
hi
Why can't you use Generic Host?