C H A P T E R  14

The Managed Extensibility Framework

The Managed Extensibility Framework (MEF) is designed to help you create extensible applications. It can discover loosely coupled components (known as parts) at runtime, and “composes” them together. MEF can provide the following two key benefits to your application:

  • As a simple dependency injection framework, MEF allows parts of your application to be decoupled, with the dependencies resolved at runtime.
  • MEF provides a plug-in framework, helping you to modularize your application and make it extensible.

One of the common uses of MEF in Silverlight applications is to provide a way for you to modularize your application, and have the modules download separately from the “shell application.” ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.