Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

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

Subscriber Reviews

Average Rating: 4.75 out of 5 rating Based on 4 Ratings

"Must see MEF fundamentals" - by Ashok on 07-APR-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Excellent Overview of MEF, thanks a lot. I guess "Common Uses for Metadata Part II" in Lesson 6: Metadata and MEF, was not complete ?
Report as Inappropriate

"Great work" - by Madhur on 18-OCT-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
thanks for the tutorial
Report as Inappropriate

Table of Contents

Chapter/Selection

Time

Introduction

General Introduction

Preview

00:04:43

Lesson 1: Introducing Managed Extensibility Framework (MEF)

Learning Objectives

Preview

00:00:50

History of MEF

Preview

00:01:30

Areas that MEF Addresses

Preview

00:02:45

Availability of MEF

Preview

00:00:49

Summary

Preview

00:01:06

Lesson 2: Writing Your First MEF Application

Learning Objectives

Preview

00:00:57

Add the MEF References

Preview

00:02:15

Use the Import Tag

Preview

00:02:51

Allow Multiple Imports with ImportMany

Preview

00:04:42

Use Export Tag

Preview

00:05:39

Configure Your First Catalog

Preview

00:06:17

Put it all Together with the Container

Preview

00:05:49

Add a Plugin

Preview

00:04:16

Summary

Preview

00:00:41

Lesson 3: Understanding Parts, Catalogs, and Containers

Learning Objectives

Preview

00:01:51

Understand Parts

Preview

00:15:57

Work with Catalogs

Preview

00:14:03

The Composition Container

Preview

00:21:24

Summary

Preview

00:01:09

Lesson 4: Using MEF for Discovery

Learning Objectives

Preview

00:01:30

Background Concepts

Preview

00:04:15

Clean Contracts Using Interfaces

Preview

00:04:56

Require Discovery via the Contract

Preview

00:02:25

Define the Implementation with Export

Preview

00:04:15

Non-attributed Exports

Preview

00:03:23

Lifetime Management

Preview

00:04:02

Summary

Preview

00:00:56

Lesson 5: Extensibility with MEF

Learning Objectives

Preview

00:01:19

Conceptual Plugin Design

Preview

00:05:03

Advanced Imports

Preview

00:05:41

Handling Re-composition

Preview

00:04:16

Discovering Extensions

Preview

00:05:07

Re-composed Collections

Preview

00:07:38

Composition Batches

Preview

00:04:29

Summary

Preview

00:01:10

Lesson 6: Metadata and MEF

Learning Objectives

Preview

00:01:00

Discover without Metadata

Preview

00:01:45

Extensions without Metadata

Preview

00:01:35

Defining Metadata

Preview

00:02:39

Filtering Metadata

Preview

00:04:19

Common Uses for Metadata

Preview

00:02:17

Common Uses for Metadata Part II

Preview

00:04:34

Summary

Preview

00:01:09

Lesson 7: MEF in Silverlight Applications

Learning Objectives

Preview

00:01:07

MEF in Silverlight

Preview

00:04:13

XAML Considerations

Preview

00:04:07

CompositionInitializer

Preview

00:04:23

CompositionHost

Preview

00:01:56

DeploymentCatalog

Preview

00:04:44

Dynamic Module Loading

Preview

00:06:08

Summary

Preview

00:00:53

Lesson 8: Conclusion: MEF Recipes

Learning Objectives

Preview

00:01:36

Inversion of Control

Preview

00:20:28

Lifetime Management and Configuration

Preview

00:12:19

Factories

Preview

00:13:20

Plugins and Modular Application

Preview

00:09:30

Capability-based Imports

Preview

00:12:40

Pipelines

Preview

00:02:08

Summary

Preview

00:01:03

Extras

The publisher has provided additional content related to this title.


Description
Content

Sample code for the video lessons

  • 9780132929400-MEFCodeSamples.zip