Still looking for a sponsor Max Paulousky is looking for a Silverlight/.Net job in the Commonwealth

Modularity in Silverlight Applications - An Issue With ModuleInitializeException – Part 2

Intro In the previous article I described the problem and outlined how I would solve it. My solution was to understand what assembly(-ies) were not loaded into application domain and load them. Solution for Silverlight applications Let’s imagine, there is a module, that contains 3rd-party controls and the host module (Shell) does not have references to these assemblies. The key point in the MVVM Silverlight application, that is responsible for Modules loading, is the GetModuleCatalog() method in the Bootstrapper implementation. There are several ways to load modules: Using XAML file...

Modularity in Silverlight Applications - An Issue With ModuleInitializeException

Intro. Modularity is a great feature of Composite Application Library (Prism). Modularity is designing a system that is divided into a set of functional units (named modules) that can be composed into a larger application. A module represents a set of related concerns. It can include a collection of related components, such as features, views, or business logic, and pieces of infrastructure, such as services for logging or authenticating users. Modules are independent of one another but can communicate with each other in a loosely coupled fashion. You use modular design if you...