IoC from start to finish

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-04-16T06:04:03Z Indexed on 2010/04/16 6:13 UTC
Read the original article Hit count: 328

I'm quite sure that IoC is the way to go for my application. There are a ton of articles and even questions here on SO that discuss the different containers. I've read several blogs today with partial examples. I am personally leaning towards starting with the CommonServiceLocator and Unity as two way to solve the same problem -- I just need a bunch of assemblies to get data from a database, which I assume is what needs to be injected everywhere.

I've yet to find any sites that really take a problem from beginning to end, with concrete code examples. For example, I've yet to find one that discusses an IServiceLocator and how to actually register it (or do whatever is required to make it known).

What are your favorite posts / articles / SO questions that can take a noob from start to finish with the implementation?

© Stack Overflow or respective owner

Related posts about ioc

Related posts about dependency-injection