Video description
Learn how to leverage the Managed Extensibility Framework,
part of the .NET 4.0 framework, to solve common problems
encountered when developing enterprise applications. These include
discovery for separation of concerns, metadata for filtering and
sorting implementations, and extensibility for highly modular
applications. You will not only learn how these concepts can be
coded and applied, but also how they have been successfully used in
existing applications to provide reliable, scalable solutions.
Viewers will also learn how to use MEF’s Silverlight-specific
extensions to build modular Silverlight applications “out of the
box.”
The accompanying sample projects to this LiveLesson can be
found in the "Extras" section:
MyFirstMEF
UnderstandingParts
Catalogs
Container
LifetimeManagement
LifetimeManagementSilverlight
PluginManager
LoggerImplementation
PluginMetadata
SilverlightMEF
MEFRecipes
Table of Contents
Introduction
General Introduction
00:04:18
Lesson 1: Introducing Managed Extensibility Framework (MEF)
Learning Objectives
00:00:50
History of MEF
00:01:31
Areas that MEF Addresses
00:02:46
Availability of MEF
00:00:49
Summary
00:01:06
Lesson 2: Writing Your First MEF Application
Learning Objectives
00:00:58
Add the MEF References
00:02:15
Use the Import Tag
00:02:51
Allow Multiple Imports with ImportMany
00:04:43
Use Export Tag
00:05:39
Configure Your First Catalog
00:06:17
Put it all Together with the Container
00:05:49
Add a Plugin
00:04:16
Summary
00:00:41
Lesson 3: Understanding Parts, Catalogs, and Containers
Learning Objectives
00:01:51
Understand Parts
00:15:57
Work with Catalogs
00:14:04
The Composition Container
00:21:24
Summary
00:01:10
Lesson 4: Using MEF for Discovery
Learning Objectives
00:01:31
Background Concepts
00:04:15
Clean Contracts Using Interfaces
00:04:56
Require Discovery via the Contract
00:02:25
Define the Implementation with Export
00:04:16
Non-attributed Exports
00:03:23
Lifetime Management
00:04:03
Summary
00:00:57
Lesson 5: Extensibility with MEF
Learning Objectives
00:01:20
Conceptual Plugin Design
00:05:04
Advanced Imports
00:05:42
Handling Re-composition
00:04:16
Discovering Extensions
00:05:07
Re-composed Collections
00:07:38
Composition Batches
00:04:30
Summary
00:01:11
Lesson 6: Metadata and MEF
Learning Objectives
00:01:01
Discover without Metadata
00:01:46
Extensions without Metadata
00:01:36
Defining Metadata
00:02:39
Filtering Metadata
00:04:20
Common Uses for Metadata
00:02:18
Common Uses for Metadata Part II
00:04:34
Summary
00:01:09
Lesson 7: MEF in Silverlight Applications
Learning Objectives
00:01:07
MEF in Silverlight
00:04:14
XAML Considerations
00:04:07
CompositionInitializer
00:04:23
CompositionHost
00:01:57
DeploymentCatalog
00:04:44
Dynamic Module Loading
00:06:08
Summary
00:00:54
Lesson 8: Conclusion: MEF Recipes
Learning Objectives
00:01:37
Inversion of Control
00:20:28
Lifetime Management and Configuration
00:12:20
Factories
00:13:20
Plugins and Modular Application
00:09:30
Capability-based Imports
00:12:41
Pipelines
00:02:08
Summary
00:01:04