Application requirements change frequently and software is constantly evolving. As a result, such applications often become monolithic making it difficult to add new functionality. Managed Extensibility Framework (MEF) is a new library in .NET Framework 4.0 that addresses this problem by simplifying the design of extensible applications and components.
MEF presents a simple solution for the runtime extensibility problem. Until now, any application that wanted to support a plugin model needed to create its own infrastructure from scratch.
Those plugins would often be application-specific and could not be reused across multiple implementations.
And now, you can use MEF with Silverlight. In Silverlight we've introduced a new api called System.ComponentModel.Composition.CompositionInitializer. CompositionInitializer allows parts to get composed by MEF without having to do any manual bootstrapping as it will automatically configure MEF on demand.
This means you can use it anywhere within your Silverlight application.
For more information about MEF, see Welcome to the MEF community site. For information about how to incorporate MEF in Silverlight, see Silverlight-specific functionality in the MEF Guide.
Bruce D. Kyle ISV Architect Evangelist | Microsoft Corporation