This Patterns & Practices latest drop provides guidance on how to create a Windows Store business app using C#, XAML and the Prism library. The release includes documentation, and source code for the AdventureWorks Shopper reference implementation and the Prism for Windows Runtime library. The AdventureWorks Shopper reference implementation uses the Prism library to demonstrate modern development practices such as the Model-View-ViewModel (MVVM) pattern with navigation and app lifecycle management. Additionally the reference implementation demonstrates validation, application data management, accessibility, localizability, touch, search, tiles, tile notification, and multiple view states. It also provides guidance on testing your app and tuning its performance.
Similar to the Prism library for WPF and Silverlight or “Prism Classic,” Prism for Windows Runtime makes it easier to design and build flexible and easy-to-maintain Windows Store business apps using modern development practices. These apps are “built to last” and “built to change.” They use design patterns that embody important architectural design principles, such as separation of concerns and loose coupling.
- Reference Implementation (RI) – the Adventure Works Shopper RI demonstrates validation, application data management, accessibility, localizability, touch, search, tiles, and tile notification.
- Hello World – demonstrates how to create a Hello World app for the Windows Store using the Prism library.
- Event Aggregator – demonstrates how to send loosely coupled messages between components.
- Validation – demonstrates how to validate data on forms in a Windows Store app.
- Prism library
- o Model-View-ViewModel (MVVM) with app lifecycle management and navigation
- o Event Aggregator in a Portable Class Library
- o Validation
- o Delegate Command
- o Flyout, Search, and Settings
- Guide – “Developing a Windows Store business app using C#, XAML, and Prism for the Windows Runtime” is designed to help devs create Windows Store business apps using the Prism library.
The Prism library source code is available with the AdventureWorks Shopper reference implementation on the MSDN Code Gallery at https://aka.ms/prism-winrt-code. The Prism binaries are available on NuGet. Search for prism.storeapps and prism.pubsubevents.
THE TOOLS DEPARTMENT
free/trial tools for developers
- Think blue sky with Azure free trial
- Freedom of Expression with Visual Studio Express 2012
- Tools and SDKs from the Windows Developer Center
- A 30-day Windows App Adventure