I am looking for the IOC/DI framework with the best documentation which would it be?
I'm currently using Unity but when I was learning IoC concept the most useful for me to learn was Ninject.
Another way to learn IoC is to try to create IoC yourself following Daniel Cazzulino's screencasts for his Funq IoC.
Here's an interesting discussion here on stackoverflow about IoC/DI.
I currently use the WindsorContainer from the Castle project, the unit tests provide an excellent source of documentation.
Poor framework with lots of docs is not going to do you much good. It's better to ask - which IoC framework is good, logical and natural to use, and has just enough docs to get you up to speed. And for that I say Castle Windsor or AutoFac.
WindsorContainer, Castle. Or if you have some time, construct your own ;) Start with a dictionary for starters :D.
Unity is a good solution too! ;)
Well, it looks like StructureMap has decent docs: http://structuremap.github.com/structuremap/index.html.
Also I expect Unity to have pretty complete docs as it's an official MS release.
What I can tell you for sure is that Ninject has pretty much no docs at all.
Some basics are quickly covered in their GitHub's wiki, but that's pretty much it.
It's sad that despite all the hype about it this part is still missing.
Ninject is the container I started with first and it was frustrating to google things that could have been explained in a short paragraph. Truly, this is very discouraging if you have to deliver a project rather than be "wasting" time searching for some info on your container. It's my biggest complain about Ninject.
Actually I'm thinking about switching to another container for a few reasons (the docs being one of them).