Top ASP.NET Items

Sponsors

Simple Example of Managed Extensibility Framework (MEF) in Silverlight

As you may have heard, we recently shipped MEF support of Silverlight in our CodePlex drop .. I wanted to give you a very simple introduction to MEF and how to use it in Silverlight. This example will show how to use lose coupling, dependency injection and delay loading of components. This is also an update to my Simple MEF example from a few months ago as just about everything here applies to WPF, WinForms and ASP.NET apps as well. The demo requires (all 100% free): VS2008 SP1 Silverlight 3 RTM MEF’s July CodePlex drop Also, download the full demo files … Let’s start with the very cool Silverlight Navigation Application Setting up The Problem This is a very simple example just to show how the technology works. Let’s say you want to put some Read More...

Read the complete post at http://blogs.msdn.com/brada/archive/2009/07/20/simple-example-using-managed-extensibility-framework-in-silverlight.aspx