Composite Application Guidance (Prism) has been out for over a year and is currently at version 2.0. There are a handful of articles out on the web showing how to create a simple Prism application. Be aware that many of these refer to version 1.0 of Prism and have outdated advice and syntax. As always, on the web, pay attention to the date of the article and the version of the software being shown.
ModuleCatalogs
In Prism v2, Microsoft added guidance for Silverlight. Version 2 simplifies finding modules in Silverlight XAP files by replacing the UnityBootstrapper.IModuleEnumerator method with the new UnityBootstrapper.GetModuleCatalog method.
// The correct way to get modules in Prism v2.(February 2009) protected override IModuleCatalog GetModuleCatalog() { var catalog = new ConfigurationModuleCatalog(); return catalog; } // The old way to get modules in Prism v1 (June 2008) protected override IModuleEnumerator GetModuleEnumerator() { var store = new ConfigurationStore(); return new ConfigurationModuleEnumerator(store); }
Microsoft has other tips on migrating to Prism v2.








