Back in May the patterns & practices team at Microsoft released a new guide for Windows 8 on creating Windows Store business apps using C# and XAML. The guide came with source code Prism for the Windows Runtime, source code for the AdventureWorks Shopper product catalog and shopping cart reference implementation, and documentation. The documentation provided guidance on how to implement MVVM with navigation and app lifecycle management, validation, manage application data, implement controls, accessible and localizable pages, touch, search, tiles, and tile notifications. It also provided guidance on testing an app and tuning its performance.
We’ve now updated the guide for Windows 8.1 and Visual Studio 2013 and it can be found on the Windows Developer Center.
What’s it all about?
Developers of Windows Store business apps face several challenges. App requirements can change over time. New business opportunities and challenges may present themselves. Ongoing customer feedback during development may significantly affect the requirements of the app. Therefore it's important to build an app that it is flexible and can be easily modified or extended over time.
Prism for the Windows Runtime provides an architecture that helps to do just that. It is designed to help developers create apps that need to accomplish the following:
- Address the common Windows Store app development scenarios.
- Separate the concerns of presentation, presentation logic, and model through support for Model-View-ViewModel (MVVM).
- Use an architectural infrastructure to produce a consistent and high quality app.
The architecture provided by Prism helps to produce flexible, maintainable, and testable apps. It includes components that help to accelerate development of your app by providing support for MVVM, loosely coupled communication, and the core services required in Windows Store apps, allowing you to focus on developing the user experiences for your app. For more info see Prism for the Windows Runtime reference.
What do I get?
- Documentation. The documentation provides guidance on how to implement MVVM with navigation and app lifecycle management, manage application data, implement controls, accessible and localizable pages, touch, validation, search, tiles, and tile notifications. It also provides guidance on testing your app and tuning its performance.
- Portable Document Format (PDF). A PDF version of the on-line guidance, for printing or reading offline.
- AdventureWorks Shopper reference implementation source code. A Visual Studio solution containing all the projects that make up the AdventureWorks Shopper product catalog and shopping cart reference implementation.
- Quickstarts. The guidance includes a number of Quickstarts that illustrate specific concepts. Many of the Quickstarts use Prism for the Windows Runtime.
- Prism for the Windows Runtime source code. Source code for the two libraries that help to accelerate the development of managed Windows Store apps.
- Prism for the Windows Runtime NuGet packages. NuGet packages for the two libraries that help to accelerate the development of managed Windows Store apps.
Where should I start?
- Review the AdventureWorks Reference implementation. After you download the code, see Getting started using Prism for the Windows Runtime for instructions on how to compile and run the reference implementation, as well as understand the Visual Studio solution structure.
- Review Quickstarts. The guidance provides five Quickstart samples that focus on specific tasks—validation, event aggregation, bootstrapping an MVVM app, extended splash screens, and incremental loading of items in GridView controls.
- Create an app using the Prism for the Windows Runtime. If you want to create your own app using Prism see Using Prism for the Windows Runtime.
- Explore developer tasks. Learn how the team implemented many of the tasks required to create a Windows Store app.
- Review the documentation. The associated documentation outlines the key decisions and lessons learned when creating a Windows Store business app.
Where can I get help?
Prism for the Windows Runtime, like many patterns & practices deliverables, has a community site. On the community site you can post questions, provide feedback, connect with other users to share ideas, and find additional content such as extensions and training material. Community members can also help Microsoft plan and test future releases of Prism for the Windows Runtime. For more info see patterns & practices: Prism for the Windows Runtime.
What’s changed since the last release?
The release notes, which include what's new in this release and a change log, can be found on the community site. For more info see Prism for the Windows Runtime release notes.