In this post Mike Taulty demonstrates how to use MEF as a way of switching on functionality based on the particular context
of your app.
In my head, I see Silverlight 4 applications as either running;
- In Browser
- Out of Browser
- Out of Browser and Trusted
- Out of Browser and Trusted and in the presence of COM interop ( i.e. on Windows )
and you might write functionality that only works in certain of those contexts.