Prism Training Kit: Beta Version Available

Over the last week, Matias and I took some time to work on something a Prism Training Kit. We figured out that was one of the things that would be useful to learn Prism. Therefore, we decided to create a set of Hands on Labs that cover the basic topics addressed by Prism (if you can't wait to download the TK, go here).

As always your feedback is really appreciated, and we hope you find it useful.

This Training Kit contains 5 Hands-On-Labs that cover the most important concepts of Prism v2. Each Lab includes:

  • A startup Visual Studio application for each exercise in the lab for you to start working on the lab.
  • A a step-by-step document  with code snippets and screen-shots that guide you on how to include key prism features.
  • An end application for each exercise in the lab, with the resulting solution after performing all the lab's steps.

image

Available Labs

  1. Modularity Lab: Shows how to decouple your solution using modules. Includes step-by-step guidance on how to configure modules in code and using an XAML ModulesCatalog. There is also an exercise that explains how to load Silverlight modules remotely.
  2. Dependency Injection Lab: Shows how to register and consume services in a decoupled way. Explains the main features of Unity, and how to register and resolve dependencies.
  3. Bootstrapper Lab: Shows how to customize the bootstrapping of your application. Explains how to configure a custom logger.
  4. UIComposition Lab: Shows how to compose the UI of you application from several decoupled views. Includes brief step-by-step explanation on using the MVP pattern and the use of controllers. Explains the use of the RegionManager and RegionViewRegistry for ViewInjection and ViewDiscovery.
  5. Communication Lab: Shows how to communicate between modules in a decoupled way. Includes brief step-by-step guidance on using the MVVM pattern (and refactoring from MVP) and detailed steps for using DelegateCommands with AttachedBehaviors. Publishing and Subscribing using the EventAggregator is also described.

Download

We created a codeplex site to host the training kit. You can get the latest drop from here.