MEF & Silverlight 4 Beta - Part 4, Recomposition
- Posted: Dec 31, 2009 at 2:27 AM
- 13,321 Views
- 4 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- WMV (WMV Video)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
Part 4 of a series of screencasts looking at the new Managed Extensibility Framework (MEF) in the Silverlight 4 beta.
MEF is a framework that simplifies the design of extensible applications and components. It can flexibly and dynamically discover a set of loosely coupled components and analyse their dependencies in order to compose them together at run time.
In this screencast, we look at how composition of component parts in MEF is not necessarily a static or "one-time" process and that as changes are made to MEF's CompositionContainer it can re-compose components to take account of those changes.
Tips for viewing:
- Each video in this series has a 3.5 minute standard introductory "header" on it so once you have seen that header you may like to skip it on subsequent videos
- For the time pressured - I find that I speak so slowly that you can speed me up to approximately 1.5-2.0 times normal speed and still listen comfortably.
I'm working to get together a Live Meeting in early 2010 with people from the MEF team in order that people can chat more about MEF in Silverlight. Stay tuned.
The next screencast in this series is
here.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Very powerful
Where is part 5?
Shouldn't this be already an inherent design attribute of the Silverlight platform? ...The intrinsic ability to handle bulky application parts with heuristic algorithms to prioritise which parts get loaded first?
I must say this all seems very frustrating... to sit and waste so much time learning these "brilliant" ideas, designed to mitigate Silverlight flaws.
Hi,
Part 5 is here - it's hyperlinked from the text above as well so not sure whether you're having some problem with that link or not?
There are capabilities within Silverlight today to download XAPs dynamically and to also package up sets of functionality into related ZIP files to avoid downloading them more than once across common uses in multiple apps.
So, it is possible to build a partitioned and extensible app with Silverlight today if you need this kind of functionality but MEF is coming along and trying to offer a pre-built, flexible, extensible, supported Microsoft framework for doing that kind of thing so you don't have to burn time/money on it.
It's also not just a Silverlight thing - it'll be part of .NET Framework 4 for the desktop/server as well.
For me, that's not mitigation of a flaw in either Silverlight 3 or .NET Framework 3.5 Sp1. It's a welcome addition to both platforms that takes away a bunch of "plumbing" code that a lot of application builders don't want to write so, personally, I welcome it along with other Silverlight 4 additions that broaden out the platform.
Thanks,
Mike.
A very good video and good basic example on adding typecatalogs and the automatic discovery by MEF of classes implementing requested interfaces through export-import functionality of MEF. The video explains how to apply [Import(AllowRecomposition=true)]
or [ImportMany(AllowRecomposition=true)] - the AllowRecomposition setting of an import to specify that an import might change during execution time and making it possible to satisfy an import at a later stage when the program is running.
I followed along the video in Visual Studio ("coding along") and everything in this video worked great on my setup also. Another pedagogical masterpiece of Mike Taulty explaining the wonders of MEF.
-= The somewhat civilized barbarian =-
Remove this comment
Remove this thread
close