Where can I learn about MEF?


C# Problem Overview

I watched the DNR TV episode with Glenn Block and it looks like MEF would be useful for my company. I am trying to find out more information on it's strengths and weaknesses and some sample projects that use it. Are there any good blogs/tutorials on using MEF?

Note: I use C#, so if the examples are in C#, that would be awesome.

C# Solutions

Solution 1 - C#

Solution 2 - C#

Mike Taulty recently did a set of screencasts on using MEF in Silverlight, which should be a good introduction to MEF.

Solution 3 - C#

I've done an ever growing series on MEF from the very basics into more advanced stuff planned in the near future.


Solution 4 - C#

I wrote this MEF demo article on CodeProject, and all the code is open sourced.

Solution 5 - C#

Microsoft Docs is a good start

Kathleen Dollard has some good materials as well

Solution 6 - C#

If you're looking for information on the latest version of MEF that is shipping with the next .NET Framework, the definitive source of information is the BCL Team Blog on MSDN.

(MEF is part of the .NET Base Class Libraries.)

Solution 7 - C#

Dependency Injection in .NET by Mark Seemann has a section on MEF, as well as Castle Windsor, StructureMap, Spring.NET, Autofac, and Unity.


All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJeffrey LottView Question on Stackoverflow
Solution 1 - C#Francisco NoriegaView Answer on Stackoverflow
Solution 2 - C#Daniel PlaistedView Answer on Stackoverflow
Solution 3 - C#JamesEggersView Answer on Stackoverflow
Solution 4 - C#Scott WhitlockView Answer on Stackoverflow
Solution 5 - C#kenwarnerView Answer on Stackoverflow
Solution 6 - C#Nicholas BlumhardtView Answer on Stackoverflow
Solution 7 - C#ContangoView Answer on Stackoverflow