Which IoC container is the easiest to get started with. This probably equates to which ones have the friendliest documentation. Not too worried about number of features.
views:
854answers:
6I would start with the Smart Client Software Factory or Unity
They include tons of samples, as well as the SCSF including some other design patterns to monkey with.
I like Castle Windsor and here you can find a three part article that describe all that you need to start. http://dotnetslackers.com/articles/designpatterns/InversionOfControlAndDependencyInjectionWithCastleWindsorContainerPart1.aspx
StructureMap and Unity are also wel documented. BTW keep in mind that almost all the Containers works in the same way, so passing from one to another is quite simle.
What's easiest is pretty much dependent on where "you're coming from". But if you're familíar with the .Net 3.5 features such as lambdas and extension methods I'm a big fan of Autofac. Autofac makes heavy use of lambdas and extension methods for registering components instead of using xml-files. This adds the benefit that you have full type safety and also you get intellisence when registering. It's also a very lightweight container which I like.
Autofac is hosted on Google code (http://code.google.com/p/autofac/) and has a pretty good Wiki with documentation.
Are you wanting to learn about IoC's?
If so I recommend Oren Eini's IOC in 15 lines because nothing helps you learn faster than a really simple example with full source code.
I would recommend StructureMap.
Very easy to set up and get you started.
Take a look at this DotNetRocks episode with James Kovacs: http://www.dotnetrocks.com/default.aspx?showNum=362
And this DNRTV where he rolls his own IoC: http://www.dnrtv.com/default.aspx?showID=126
Keith