Depedancy Injection in classes implementing ApplicationEventHandler - Umbraco 7.4
Hi Guys,
I have project which has Dependency injection controlled by SimpleInjector.
Now, I have a class which is implementing from ApplicationEventHandler where I want to listen to such member service event. In such events, I want to call such services which do some logic, as below:
Depedancy Injection in classes implementing ApplicationEventHandler - Umbraco 7.4
Hi Guys,
I have project which has Dependency injection controlled by SimpleInjector.
Now, I have a class which is implementing from ApplicationEventHandler where I want to listen to such member service event. In such events, I want to call such services which do some logic, as below:
But when I start the application and debugged accordingly, events are not being registered and eventaully it is not working.
I don't want to use such static call for service and use it like that unless there are no solution.
Appreciate any help.
Thank you.
Kind Regards
Anyone can help me please?
Kind Regards
Hey Simon,
Did you ever managed to get this working? I am having the same issue
Thanks Dale
Hey Simon,
Just on this, i never managed to get it working and instead have to retrieve the Interface from the service locator instead.
Cheers Dale
is working on a reply...