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
I'm getting the following error after upgrading my .NET 5 V3 in-process function to a .NET 6 V4 in-process function:
Scope disposed{no name} is disposed and scoped instances are disposed and no longer available.
This happens when I register a singleton object that accepts an IServiceProvider as a dependency that when invoked tries to create an instance of a service registered as scoped. The first call to this works. Every subsequent call fails with the error above. I've attached a small function app that reproduces this error.
Closing this issue as its tracked in the above mentioned issue. Please feel free to reach back to us in case of any further queries related to this issue.
I'm getting the following error after upgrading my .NET 5 V3 in-process function to a .NET 6 V4 in-process function:
Scope disposed{no name} is disposed and scoped instances are disposed and no longer available.
This happens when I register a singleton object that accepts an IServiceProvider as a dependency that when invoked tries to create an instance of a service registered as scoped. The first call to this works. Every subsequent call fails with the error above. I've attached a small function app that reproduces this error.
V4BugRepro.zip
The text was updated successfully, but these errors were encountered: