Silverlight 4, MEF and MVVM: loading different “MEF Modules”…
Today I’ve finally found some time to make modifications in the “MEF MVVM” project on Codeplex in order to:
-
create a new module using WCF RIA Services and dynamically load this it inside the “MEF module container” described in the previous post;
-
use the INavigationContentLoader interface and MEF Metadata to share the same container for the various “MEF Modules”;
-
use the new Cosmopolitan theme available for Silverlight Navigation applications;
-
refactor the code of the ViewModel base class using the one available in the latest Prism drops;
-
refactor unit tests inserting an apposite Mock service.
The source code is available for download on Codeplex.
Happy Silverlighting!