Using DryIoc with the HostApplicationBuilder #664
Unanswered
kateryna-novak
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@kateryna-novak Hi, thanks for the question. I will try to check it myself and get back to you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.NET 6.0 introduced a new class for non-web app host building,
HostApplicationBuilder
. However, I cannot find documentation on configuring DryIoc as a service provider factory. For the oldHostBuilder
(IHostBuilder
), everything is pretty straightforward:hostBuilder.UseServiceProviderFactory(new DryIocServiceProviderFactory())
And that's it. However, I cannot find anything similar for the
HostApplicationBuilder
. Am I missing something very easy, or is this new class not supported yet?Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions