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
As much as we want to help folks, there isn't a large team of support people that can diagnose issues in complex codebases. It's really important to provide an absolutely minimal reproducible example, not in a zip or repo we have to work through.
Remove all assembly scanning.
Remove any custom attributes.
Remove any excess code - everything from methods that aren't used to empty default parameterless constructors.
Remove any comments that don't help illustrate the issue.
Remove regions.
I also see the zip is called WindowsFormsApp7.zip, which, from the name, indicates it's not a standard OWIN app. Try this as a super boiled down, stock app - no self hosting, no extras.
Once it's reduced to the minimum it should be easy enough to post here (not a zip file) and we're can probably check it out.
If you're not able to minimize the repro, you may end up waiting a very long time for us to unwind this. I'm honestly sorry that's the case, but we really are pretty strapped for time.
Describe the Bug
owin one request autofac middleware and controller lifetime not same one
UnitOfWorkManagerMiddleware
TemplateService
Steps to Reproduce
Startup.css
Middleware
Repository
Expected Behavior
owin autofac middleware and controller lifetime
same one
Exception with Stack Trace
Dependency Versions
Autofac: 6.4.0.0
Autofac.Integration.Owin: 7.0.0.0
Autofac.Integration.WebApi:6.1.1.0
Additional Info
Sample
WindowsFormsApp7.zip
The text was updated successfully, but these errors were encountered: