I’ve been meaning to record this screencast for a LONG time. Well, I have a presentation on MEF tomorrow. I was originally planning on demonstrating this sample, but realized that I won’t have enough time. However, I needed to be able to point the audience to an explanation of this sample as a follow on. Nothing like a forcing function to get you to do something you’ve been planning on for ages;)!
In this screencast, I highlight some tips and tricks for improving perceived startup performance of Windows Presentation Foundation (WPF) applications using the Managed Extensibility Framework (MEF) and a Splash Screen. The walkthrough focuses on using the .NET Framework 4.0. However, MEF is available for WPF 3.5 SP1 as well at http://mef.codeplex.com.
Direct link to Ch. 9 post:
UPDATE (4/5/2010): I uploaded a newer version with a few minor tweaks. I finally created a screencast for this sample:
UPDATE (2/27/2010): I uploaded a newer version of the sample. I fixed some bugs and added support for loading a ResourceDictionary using MEF. I will be recording a Ch. 9 screencast soon.
I keep on finding all sorts of fun and interesting uses for MEF. I just threw together a sample for a customer showing how to use a splash screen + MEF to follow the “Make the application main window appear as soon as the user double-click on the application’s icon, when possible perform do all other initialization after.” principle describe here:
I plan on explaining the sample in a coming blog post. However, I wanted to share the sample without explanation as soon as possible. Get it here:
I used Visual Studio 2010 beta 2 / WPF4 for this.