hi, There are many IOC containers for .net out there mainly MEF, Spring.net, Castle Windsor, Unity etc. Which is the most extensible and high performant? What should one consider when choosing a particular IOC container?
Thanks in adv
hi, There are many IOC containers for .net out there mainly MEF, Spring.net, Castle Windsor, Unity etc. Which is the most extensible and high performant? What should one consider when choosing a particular IOC container?
Thanks in adv
For most projects, the performance of IoC containers is a non-issue, so it's a poor criterion to choose one over another unless you have very specific performance needs.
MEF has a different focus as a container. It's intended to be used as a plug-in repository (think runtime discovery) rather than traditional dependency injection where you mostly know statically what your components are and how they should be wired. This doesn't make it better or worse, it just has a different purpose.
For a somewhat Windsor-biased comparison see my answer to this similar question.