Skip to content
| Marketplace
Sign in
Visual Studio>Templates>Prism for the Windows Runtime Templates (Win 8.1)
Prism for the Windows Runtime Templates (Win 8.1)

Prism for the Windows Runtime Templates (Win 8.1)

David Britch

|
3,872 installs
| (1) | Free
A collection of templates to use Prism for the Windows Runtime for Windows 8.1. Prism for the Windows Runtime provides libraries that accelerate the development of managed Windows Store apps by providing support for bootstrapping MVVM apps, state management, validation of user...
Download

Looking for the Prism for the Windows Runtime templates for Windows 8.0? Then clickhere.

Note: While Prism for the Windows Runtime is a patterns & practices release, these templates are not. They've been created in my spare time, and if you have any issues with them, or suggestions for future development, please contactme.

Prism for the Windows Runtime provides two libraries that help developers create managed Windows appStore apps:

  • The Microsoft.Practices.Prism.StoreApps library provides support for bootstrapping MVVM apps, state management, validation of user input, navigation, data binding, commands, and settings.
  • The Microsoft.Practices.Prism.PubSubEvents Portable Class Library allows communication between loosely coupled components in an app, thus helping to reduce dependencies between assemblies in a Visual Studio solution.

Together the libraries accelerate development of apps by providing support for MVVM, loosely coupled communication, and the core services required in Windows Store apps. For more info about Prism for the Windows Runtime see Developing a Windows Store business app using C#, XAML, and Prism for the Windows Runtime and thePrism for the Windows Runtime codeplex site.

In order to make consuming Prism for the Windows Runtime easier I've created a set of Visual Studio project and item templates. The templates work with any edition of Visual Studio 2013 that you can use to create Windows Store apps, from Visual Studio Express for Windows 8, through to Visual Studio Ultimate Edition. The project templates allow you to create two types of app:

  1. Prism App: a single-page project for a Windows Store app that uses Prism for the Windows Runtime for Windows 8.1.
  2. Prism App using Unity: a single-page project for a Windows Store app that uses Prism for the Windows Runtime for Windows 8.1, and the Unity dependency injection container.

Each project template creates a Windows Store app project that includes a reference to the Prism.StoreApps library, a view (MainPage), a corresponding view model (MainPageViewModel), and an App class that bootstraps the app using the Prism.StoreApps library. In addition, the Prism App using Unity project template creates a Windows Store app project that also includes a reference to the Unity library, and bootstraps the app using the Unity dependency injection container.

The item templates allow you to add the following items to a Prism app:

  1. Page View (Prism): A minimal page view with a title and a back button control, for a Prism app.
  2. View Model (Prism): A view model class for a Prism app.
  3. Model (Prism): A model class, with validation support, for a Prism app.
  4. PubSubEvent (Prism): A loosely coupled event for a Prism app.
  5. UserControl View (Prism): A blank UserControl view for a Prism app.

Each item template creates a class that derives from the correct type in the Prism.StoreApps library. In addition, the PubSubEvent (Prism) item template adds a reference to the Prism.PubSubEvents library to the project. Please note that these item templates will only work with an app created from one of the Prism app project templates.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft