In this episode of 10-4, we revisit the Managed Extensibility Framework and take a look at all the new improvements made in the latest available release, Preview 7. For more information on the Managed Extensibility Framework, make sure to check out its home on Codeplex: http://www.codeplex.com/mef.
Resources from this episode: - [Nicholas Blumhardt] Analyze MEF Assemblies from the Command Line - [Laurent Bugnion] MVVM Light Toolkit
For more 10-4 episodes, be sure to visit: http://channel9.msdn.com/shows/10-4
10-4! Over and out!
im glad to hear that
another question though, how will the released .net4 version relate to upcoming MEF releases? will we not reference the old versions and just reference the new ones or will you do more addative releases? im just curious but it would seem a little strange to have an old version just hanging around in the gac, not beeing used
Brandon
Good question and timing. Yes, I am planning to put one in contrib. Here's the code if you want it now
http://codepaste.net/s6w6az
If you look in the sample you will notice a Unity extension as well. The reason is that to use this EP, something has to tell it the available registered types so that it can map them to contract names, as MEF is solely contract based. You'll see the extension invokes a method on the EP.