LightInject container set as DependencyResolver.Current
Hello.
Can anyone point me to the place where DependencyResolver.Current is set in umbraco?
Do note I did search the github codebase for it but I could not find any information, maybe I missed something.
When resolving an instance using DependencyResolver.Current.GetService<instance>(); I saw the container behind it is the umbraco lightinject container where we have all the types registered.
I'm just trying to understand where do you guys set the dependencyResolver to this umbraco container. Hope it makes sense.
LightInject container set as DependencyResolver.Current
Hello.
Can anyone point me to the place where DependencyResolver.Current is set in umbraco?
Do note I did search the github codebase for it but I could not find any information, maybe I missed something.
When resolving an instance using
DependencyResolver.Current.GetService<instance>();
I saw the container behind it is the umbraco lightinject container where we have all the types registered.I'm just trying to understand where do you guys set the dependencyResolver to this umbraco container. Hope it makes sense.
Thank you for the help!
is working on a reply...