Prism V2′s drop 7 is out: Updates to Commanding and Modularity
December 7th, 2008
A new drop of Composite Application Guidance for WPF and Silverlight (or Prism) is out. Get it from Codeplex.
The latest changes since drop 6 include:
- Modularity
Many changes where made to Modularity to keep it simpler (although not extremely noticeable for the surface API consumer).
We also re-included the Directory Lookup and Configuration based module enumerators for WPF (the ones that were included in Prism V1), and the respective QuickStarts that show their usages.
- Commanding
We included the Commands namespace in Silverlight’s CAL.
In order to hook up an ICommand to a button from XAML, we are following a similar approach to what we’ve done in a previous spike and blogged about it here, so I won’t go into many details about it in this post.
The CommandParameter cannot be set from XAML currently; that feature did not make it in drop 7 for a few minutes, but this will definitely be possible in the next drop.
We also ported the Commanding QS to Silverlight, although this is still work in progress.
- Regions
There is a breaking change in the Regions property of the IRegionManager, which may not be noticeable for the majority of users, but it can break some of your RegionManager mocks if you are doing TDD (and if you are not… WHY NOT?!?!?
)
- Documentation
Changes in the documentation includes explanation of the new Pull-based Composition QuickStart and the Modularity QuickStarts for WPF.
- Project Linker
If you like ProjectLinker or you would like to try it, but didn’t feel like installing Visual Studio 2008 SDK, you will be happy to know that it does not require the SDK anymore
![]()
There is a separate download for the ProjectLinker installer and for its source code, as the latter still requires the SDK if you want to update it and build it yourself.
I hope you like it, and as usual, we are driven by the community, so your feedback is very useful to us.