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
@sam-wheat Photino.Blazor is built on the Microsoft.NETCore.App framework. In order to do what you're asking, we'd have to switch to the Microsoft.AspNETCore.App framework which would bloat the project a bit. While this may be a reasonable step to take, it's not a minor change. You can use the default dependency injection, but using Autofac won't be supported until this change is made, tested and published, which likely won't happen soon unless you or someone in the community picks this up.
I actually did look at implementing IHostBuilder - it is something I'd like to do but unfortunately it is yet another distraction from my main project which is long overdue.
We'd have to switch to the Microsoft.AspNETCore.App framework
You should be able to just add a reference to Microsoft.Extensions.Hosting, correct?
The workaround is pretty simple but not something I would want to do in a large app:
PhotinoBlazorAppBuilder
does not implementIHostBuilder
so I can not use this. Is there a workaround?I need to use Autofac service provider:
builder.UseServiceProviderFactory(new AutofacServiceProviderFactory());
The text was updated successfully, but these errors were encountered: