I'm kind of a newbie to Unity, but I wonder if the following scenario is feasible:
I have an MVC app that uses Unity for IoC. One of it's references is "Service1". Service1, in turn uses Service2. I would like to implement IoC also for Service1 -> Service2, but the latter is not visible to the MVC app (and I would like to keep it like that).
From what I gather, in order to implement DI, I have to make Service2 visible to the MVC app. Is there an alternative implementation to this?
Is it possible to have Unity referenced in Service1, so that will take care of it's dependencies there?
Thanks.