title: how to implement IOC without a global static service (non-service locator solution)?
body: <p>we want to use Unity for IOC.
  All i've seen is the implementation that there is one global static service (let's call it the the IOCService) which holds a reference to the Unity container, which registers all interface/class combinations and every class asks that object: give me an implementation for Ithis or IThat.</p>
  
  <p>Frequently i see a response that this pattern is not good because it leads to a dependency from ALL classes to the IOCService (not to the Unity container because it is only known inside the IOCService).</p>
  
  <p>But what i don't see often, is: what is the alternative way?</p>
  
  <p>Michel</p>
  
  <p>EDIT: found out that the global static service is called the service locator, added that to the title.</p>