Поделиться через


JUST RELEASED: Developing a Windows Store Business Apps with C#, XAML, and Prism

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.

You’ll Get:

  • Reference Implementation (RI) – the Adventure Works ShopperRI demonstrates validation, application data management, accessibility, localizability, touch, search, tiles, and tile notification.
  • Quickstarts:
    • 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.

You can view the documentation at https://aka.ms/prism-winrt-doc or download a PDF version at https://aka.ms/prism-winrt-pdf.


THE TOOLS DEPARTMENT
free/trial tools for developers

image

  • Think blue sky with Azure free trial

image

image

image