Managed Extensibilty Framework (MEF)
When implementing a Silverlight application, some doubts, such as the following can arise:
How can the different modules be decoupled? Is there an easy way to replace modules, keeping interdependence? Moreover, it would be interesting to replace modules with others containing hardcoded data, so as to perform unitary tests easily.
It would be great for my application to be extensible, and even better if third-party developers could couple their developments to my project easily.
I would like to control the size of the application XAP and load modules on demand.
It is possible to implement our own functionality in order to give support to these points, but it is not always practical (similar to what happened when analysing MVVM Light Toolkit). There are libraries and frameworks such as MEF, which already cover these features.
Note
Managed Extensibility Framework (MEF) offers discovery and composition capabilities, which we can make use of in order to load application...