Developer ' s Guide to Microsoft Prism Library 5.0 for WPF
Prism provides guidance in examples and documentation to help you easily design and construct rich, flexible and easy-to-maintain Windows Presentation Foundation (WPF) desktop applications. The design patterns used by the Prism class library embody the importance of architectural design principles, such as separation and loose coupling, so that you can easily and seamlessly assemble separate loosely coupled components throughout your application.
This article will contact the source code and documentation to preview the entire prism.
Entry
Where to start learning depends on your goals and your understanding of prism, learning, developing and deploying applications, and upgrading Prism 4.1 will help you understand Prism and find out where to start learning.
Learning: If you use Prism for the first time, start here. Here are the following topics:
- Learn about Prism capabilities:introduction.
- Consume the Prism Library in source code.
- Learn the Prism concepts.
- Where to ask questions?
- Who created Prism?
Developing and deploying applications: After reading this article, you can create and deploy a prism Hello World app. If you want to learn more about how to use the specified prism functionality in your app, see below.
How to get your machine ready to use prism. Machine ready.
Where to go to get the binary package: library binaries.
Create your first composite prism should getting Started Using the prism Library hands-on Lab.
Deploy the Prism application: Publishing and Updating applications using the prism Library hands-on Lab.
Updates from 4.1: Read the following you can analyze if you are going to upgrade to Prism5.0.
What's New in Prism 5.0.
Upgrading from Prism 4.1.
Brief introduction
Learn how to use the Prism class library and loosely-coupled WPF components to create a composite application.
From
Download code:
Getting Started Using the Prism Library Hands-on-lab
Stock Trader Reference Implementation
More information:
Introduction
Getting Started Using The Prism Library hands-on Lab
Stock Trader Reference Implementation
Initialize the prism application:
Learn how to make Prism's WPF application run up-boot programs.
From
Download code:
Getting Started Using the Prism Library Hands-on-lab
More information:
Initializing Prism Applications
Getting Started Using The Prism Library hands-on Lab
Dependency Management between components
Using dependency injection to manage dependency properties and lifecycles of components, it is easy to test and create maintainable apps for view model write views.
From
More information:
Managing Dependencies between components
Modular application Development
Learn how to create simple development, test, deploy, and extend a low-coupling modular program.
From
Download code:
Modularity QuickStart for Unity
Modularity QuickStart for MEF
More information:
Modular Application Development
Modularity QuickStarts
MVVM mode
Learn how the MVVM pattern makes your app easier to test, maintain, and change. It enables the code to be reused and allows developers and designers to work with each other. Learn how to use compound commands in MVVM, handle asynchronous iterations, implement using iterative patterns, and write views using the view model.
From
Download code:
MVVM QuickStart
More information:
Implementing the MVVM Pattern
Advanced MVVM Scenarios
MVVM QuickStart
User interface composition
Learn how to compose your own UI for loosely-coupled WPF visualization components. Use design-time data to create a friendly UI design
From
Download code:
UI composition QuickStart
More information:
Composing the User Interface
Navigation
Learn how to switch between two pages in a composite WPF app using the MVVM pattern. Use state-based or view-based navigation.
From
Download code:
State Based Navigation QuickStart
View switching QuickStart
Interactivity QuickStart
More information:
Navigation
State Based Navigation QuickStart
View switching QuickStart
Interactivity QuickStart
Interaction between loosely-coupled components
Decide when to use different loosely-coupled communication mechanisms in a modular application: commands, Region context, shared services, and event aggregation.
From
Download code:
Event Aggregation QuickStart
Commanding QuickStart
More information:
Communicating between loosely coupled components
Event Aggregation QuickStart
Commanding QuickStart
Deploy the Prism app
Learn deployment options for a composite WPF app-Xcopy,clickonce,and Windows Installer
From
More information:
Deploying Prism Applications
Publishing and Updating Using the Prism Library hands-on Lab
Design Patterns in Prism
Learn the different design patterns in the PRISMZ class Library and implement a reference to the demo association.
From
Download code:
Stock Trader Reference Implementation
Event Aggregation QuickStart
Commanding QuickStart
MVVM QuickStart
UI composition QuickStart
Hello World Hands-on-lab
More information:
Patterns in the Prism Library
Stock Trader Reference Implementation
Code Samples
Getting Started Using The Prism Library hands-on Lab
Prism Class Library
Learn how the Prism class library is developed and designed, how to change the source file and how to correlate the test.
From
Download code and binaries:
Prism NuGet Package
Prism.composition NuGet Package
Prism.interactivity NuGet Package
Prism.unityextensions NuGet Package
Prism.mefextensions NuGet Package
PRISM.MVVM NuGet Package
Prism.pubsubevents NuGet Package
Prism Source Code
More information
Prism Library
Updates from Prism4.1
Learn how to update existing PRISM 4.1 projects and solutions to Prism 5.0. Includes modifying references, namespaces, and application interfaces.
More information:
What's New in the Prism Library 5.0 for WPF
Upgrading from Prism Library 4.1
Expand the Prism class library
Learn how to modify the prism default behavior, including the bootloader container,logging,modularity,regions,navigation, and the view model where.
More information:
Extending the Prism Library
"Translation" Developer's Guide to the Microsoft PRISM5.0 Library based on WPF