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
The unity container behind Unity.Microsoft.DependencyInjection.ServiceProvider (_serviceScopeFactory) is already disposed, because request is finished.
Is it a bug or how this example should look like?
The text was updated successfully, but these errors were encountered:
Hi, i am trying to implement this suggestion "Do not capture services injected into the controllers on background" from microsoft docs.
It works with default dependecy injection mechanism, but when i switch to UnityServiceProvider the code throws exception:
The unity container behind Unity.Microsoft.DependencyInjection.ServiceProvider (_serviceScopeFactory) is already disposed, because request is finished.
Is it a bug or how this example should look like?
The text was updated successfully, but these errors were encountered: