When would you use the Common Service Locator ?

Posted by ajma on Stack Overflow See other posts from Stack Overflow or by ajma
Published on 2009-04-09T19:55:36Z Indexed on 2010/05/18 3:00 UTC
Read the original article Hit count: 287

I've been looking at the Common Service Locator as a way of abstracting my IoC container but I've been noticing that some people are strongly against this type of this.

Do people recommend never using it? Always using it? or sometimes using it? If sometimes, then in what situations would you use it and what situations would you not use it.

© Stack Overflow or respective owner

Related posts about common-service-locator

Related posts about service-locator