What is MEF?

MEF stands for Managed Extensible Framework. It is part of .Net 4.0 and is useful for building extensible applications. It can be used to plug-in components to already existing application. It is useful as it decouples the components and also it has mechanism to discover components and thus avoid dependencies. MEF enables developers to create extensions dynamically, without the extending application or the extension requiring any specific knowledge of the other.
Basic of MEF :
Different types of Catalog are : Why MEF : How to start with MEF : I have tried to explain at a very basic level. You can download the source code also and go through the sample.
I will try to come up with some more complex scenario / example on MEF. There are lot of areas where we can use MEF particularly for extensibility and discovering components at runtime.
In short, MEF tries to compose parts in such a way that the imports match the exports.
Where is MEF available :
It is available as part of .Net 4.0 as well as it is available in Codeplex.
This is just an introduction to MEF, basic terminologies used and how it is useful. I will come up with a follow up article which has some samples very soon.