how does .net core implement dependency injection for different lifetimes?
how does a instance created and disposed for different lifetimes?
What I have tried:
What i could think is
1.singleton - use a global static dictionary to keep all the instance
2.scope - no idea.
3.transient - new instance() for every request.
how does .net core(or any other IoC library) do in the dependency injection engine?