.NET Framework 4: The Managed Extensibility Framework

Two video reviews today!

.NET Framework 4: Creating Extensible Applications with the Managed Extensibility Framework

In this 25-minute video, you'll learn about the Managed Extensibility Framework (MEF), a new library in the .NET Framework that enables greater reuse of applications and components. Using MEF, .NET applications can make the shift from being statically compiled to dynamically composed, helping developers write applications that are more extensible and easier to maintain than before.

See https://channel9.msdn.com/shows/10-4/10-4-Episode-26-Creating-Extensible-Applications-with-the-Managed-Extensibility-Framework.

Highlights:

  • 01:22 Moving from inheritence to composition.
  • 06:28 MEF parts, export-import-compose steps.
  • 09:55 Export: using the Export attribute.
  • 10:18 Import: using the Import attribute.
  • 11:12 Compose: catalogs provide parts to applications. The container matches the exports to the imports.
  • 12:36 Default catalogs include TypeCatalog, AssemblyCatalog, DirectoryCatalog, and AggregatingCatalog.
  • 13:45 Beginning of code in action.
  • 15:15 Export: code in action.
  • 16:00 Import: code in action.
  • 17:12 Compose: code in action.

.NET Framework 4: Managed Extensibility Framework Preview 7

In this 30-minute video, you'll revisit the Managed Extensibility Framework (MEF) and take a look at all the new improvements made in the latest available release, Preview 7. These improvements include Silverlight support, XAML integration, better line-of-business application scenario support, dynamic part creation, and one-line-of-code "bootstrapping."

See https://channel9.msdn.com/shows/10-4/10-4-Episode-32-MEF-Preview-7.

Highlights:

  • 05:19 Demo: MEF for Silverlight.
  • 13:21 Demo: dynamic part creation.