Closed Angus221 closed 4 years ago
You could just copy source and use it in your project
I think that it's not necessary anymore, you should use Hierarquical Lifetime Manager and add scope on each request.
I am assuming this question is answered and closing the issue. Please let me know if I should reopen.
"I think that it's not necessary anymore, you should use Hierarquical Lifetime Manager and add scope on each request."
Could you provide a code sample to do this.
PerRequestLifetimeManager is in unity.mvc ,but unity.mvc doesn't support NetCoreApp, how could I use PerRequestLifetimeManager with asp.net webapi core 3.1?