标签: c# asp.net-web-api2 autofac
我使用autofac构建了一个webapi2项目作为依赖项解析器。当第二个Web请求发出时我遇到了这个异常:(第一次调用很好) Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed. 有人可以给我一些方向来解决这个问题吗?
Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.