I've just take a look at a couple of Dependency Injection frameworks that are available for .Net today, namely Unity from Enterprise Library and Ninject.
To try school myself further on these frameworks, I decided to look at the respective documentations.
First, I went to Ninject site. The site itself is very attractive (
THEY HAVE NINJA!!) and clean. When I went to browse the
dojo section, I was rewarded with a fun, clear and easy to follow explanation on the framework and how to do stuffs using it. Kudo to whoever wrote that documentation. The format works for me and it was very enjoyable to read.
Then I decided to download Unity documentation from Microsoft site. After running the installation, I launched MSDN Document Explorer and started reading. What I got from it is a very confusing, dry and require a whole lot more brainpower to just wrap my head around the subject.
I think I'll lay Unity down for a bit and go play with Ninject. It seems more fun, and hey, they got ninjas, swords, shurikens and warlords. If you are new to dependency injection framework and wish to get to know it better, I strongly suggest taking look at Ninject and its documentation.
On a side note, they are other frameworks too if you are interested. Take a look at Spring.NET, and Castle Windsor (which I think Ninject use internally, not sure, but I saw some stuffs that look like assembly from Castle project in the source code).
Have fun injecting!