title: Difference between MEF and IoC containers (like Unity, Autofac, SMap, Ninject, Windsor.Spring.net, etc.)
body: <p>I have been searching about the dependency injection and read a few articles.
  But still I am unable to find out the difference between MEF and other IoC's.
  So, my question is this: In which situation should I prefer to use a MEF or IoC container?</p>
  
  <p>Why is it good to use MEF with PRISM for (WPF &amp; Silverlight) or for desktop applications?</p>
  
  <p>Whereas in web application people use IoC containers.</p>
  
  <p>So, what is the criteria to decide which dependency technique I should use?</p>
  
  <p>I have been through the article <a href="http://devlicio.us/blogs/casey/archive/2009/12/18/what-is-the-difference-between-an-ioc-container-and-mef.aspx" rel="noreferrer">http://devlicio.us/blogs/casey/archive/2009/12/18/what-is-the-difference-between-an-ioc-container-and-mef.aspx
  </a>, but I could not determine anything.</p>