Jounce 2.0
This is the 2.0 beta release for the Jounce framework and guidance for developing Silverlight 5 applications using MVVM and MEF.
Available on NuGet
The package is called
Jounce and you can install with:
PM> Install-Package Jounce
(
Tip: if you delete the App.xaml and MainPage.xaml, it will auto generate a ready-to-go Jounce application for you).
Release Notes
- Addressed defect #14188 - compiled for support for Silverlight 5 RC
- Added extensive documentation for Sandcastle generation
- Extended several view and view model features to support strongly-typed versions for creating routes
- Added custom markup extension for wiring view models to views with support for non-shared:
<Grid DataContext="{jounce:MapToViewModel ViewModel=MyViewModelTag, CreateNew=true}"/>
- Removed duplicate source code
- Addressed defect #14158 - duplicate source code
- Addressed defect #14216 - added flag to set debug severity using ApplicationService (LogSeverityLevel)
- Addressed defect #14096 - issue with build due to auto-NuGet packaging
- Addressed defect #13621 - incorrectly handled exceptions. Added flag to suppress Jounce from taking over the unexpected exceptions (IgnoreUnhandledExceptions)
- Addressed defect #13281 - removed stack frame based property change notification
- Addressed defect #12591 - added a hook to monitor the progress of a xap file download
- Addressed defect #13976 - process the xap URL differently to allow for query strings
- Addressed defect #13274 - avoid cast to BaseViewModel in view model router to allow developers to derive from their own base classes
- Added option to view meta data to automatically call deactivate on the view model when a view is unloaded
- Exposed additional detail via the view model router including metadata and available routes
- Added CustomType for bindable dynamic types
- Added support for OOB windows. Simply raise navigation with .AsOutOfBrowserWindow then add .WindowWidth and .WindowHeight. Also added support for passing in the title (.WithTitle)
- Added support for setting the title with parameters. Navigate with the extension .WithTitle("My Title") and it will be set regardless of whether the application is running in the browser or in out-of-browser mode
- Added Out-of-Browser support in base view model: "IsRunningOutOfBrowser," "IsInstalled" and a SetTitle method that will work in HTML or OOB mode