Questions tagged [prism-4]

Prism, formerly known as "Composite Application Guidance", provides guidance designed to help you more easily design and build rich, flexible, and easy-to-maintain Windows Presentation Foundation (WPF) desktop applications, Silverlight Rich Internet Applications (RIAs), and Windows Phone 7 applications. Prism is currently at version 4 which was released on November 2010.

Overview

Prism provides guidance designed to help you more easily design and build rich, flexible, and easy-to-maintain Windows Presentation Foundation (WPF) desktop applications, Silverlight Rich Internet Applications (RIAs), and Windows Phone 7 applications. Using design patterns that embody important architectural design principles, such as separation of concerns and loose coupling, Prism helps you to design and build applications using loosely coupled components that can evolve independently but that can be easily and seamlessly integrated into the overall application. These types of applications are known as composite applications.

Prism includes reference implementations, QuickStarts, reusable library code (the Prism Library), and extensive documentation. This version of Prism targets the Microsoft .NET Framework 4.0 and Silverlight 4 and includes new guidance around the Model-View-ViewModel (MVVM) pattern, navigation, and the Managed Extensibility Framework (MEF). Because Prism is built on the .NET Framework 4.0 (which includes WPF) and Silverlight 4, familiarity with these technologies is useful for evaluating and adopting Prism.

Intended Audience

Prism is intended for software developers building WPF or Silverlight applications that typically feature multiple screens, rich user interaction and data visualization, and that embody significant presentation and business logic. These applications typically interact with a number of back-end systems and services and, using a layered architecture, may be physically deployed across multiple tiers. It is expected that the application will evolve significantly over its lifetime in response to new requirements and business opportunities. In short, these applications are "built to last" and "built for change." Applications that do not demand these characteristics may not benefit from using Prism.

It should be noted that while Prism is not difficult to learn, developers must be ready and willing to embrace patterns and practices that may be new to them. Management understanding and commitment is crucial, and the project deadline must accommodate an investment of time up front for learning these patterns and practices.

Excerpt from Prism's page on Codeplex, visit it for more information.

266 questions
5
votes
2 answers

DataTemplate to generate Menu with MVVM

I'm trying to use a DataTemplate to create a Menu from my ViewModels with respect to MVVM. Basically, I've created several classes which will store information about my Menu structure. I then want to realize that menu stucture as a WPF Menu using a…
Alan
  • 7,875
  • 1
  • 28
  • 48
5
votes
1 answer

Graceful application shutdown using WPF PRISM 4

I'm looking for a "best practice" (if there is even a best) for cleanly shutting an WPF application down that uses MEF and PRISM4. Ultimately, I'm looking for some sort of "Close Service" would manage all of event/commanding from the Shell to any…
Thelonias
  • 2,918
  • 3
  • 29
  • 63
5
votes
2 answers

Can I implement my own view resolution service and have RequestNavigate use it?

I 'm fairly new to Prism and I 'm currently re-writing one of our existing applications using Prism as a proof of concept project. The application uses MVVM with a ViewModel first approach: our ViewModel is resolved by the container, and an…
Pj.
  • 174
  • 1
  • 2
  • 10
5
votes
2 answers

Prism composite application - Blendability

We are using Prism and is an excellent framework for composition and modularity. However, I haven't seen a good story around Blendability with Prism composition. When you have a code that has Regions, how do you generally support blendability with…
bkhanal
  • 1,400
  • 3
  • 16
  • 24
5
votes
1 answer

Silverlight OOB updates when using MEF / PRISM

I am working on a prototype for Silverlight OOB application. To modularize the application either PRISM or MEF or both will be used. When a new version of the application is available, CheckAndDownloadUpdateAsync can assist in downloading the latest…
byte
  • 1,665
  • 1
  • 19
  • 36
5
votes
3 answers

Should I use Prism for developing simple desktop applications? C#

I want to move on to WPF applications and convert my win-form apps(into WPF) At the moment there is too much to learn about WPF in order to get nice application... I found Prism : http://msdn.microsoft.com/en-us/library/gg406140.aspx And I believe…
Asaf
  • 3,067
  • 11
  • 35
  • 54
5
votes
3 answers

Prism 4: Unloading view from Region?

How do I unload a view from a Prism Region? I am writing a WPF Prism app with a Ribbon control in the Shell. The Ribbon's Home tab contains a region, RibbonHomeTabRegion, into which one of my modules (call it ModuleA) loads a RibbonGroup. That works…
David Veeneman
  • 18,912
  • 32
  • 122
  • 187
5
votes
2 answers

C# Constructor base keyword

I was poking into Microsoft.Practices.Prism assembly using reflector and came across the following definition for the constructor of DelagateCommand: public DelegateCommand(Action executeMethod, Func canExecuteMethod) : base(action,…
4
votes
1 answer

prism - IsNavigationTarget not invoked when using RequestNavigate

I am trying to learn the Prism Navigation support. Presently, I have a prism Region and I want to load view to that region using RegionManager.RequestNavigate(). The navigation does occur, however the IsNavigationTarget() of INavigationAware is not…
Jatin
  • 4,023
  • 10
  • 60
  • 107
4
votes
3 answers

Could not load file or assembly Microsoft.Expression.Interactions and GalaSoft.MvvmLight.Extras.WPF4

I am facing unknown problem while using Prism 4. We implement business solution in MVVM pattern. For that I have used 1. Microsoft.Expression.Interactions 2. System.Windows.Interactivity 3. GalaSoft.MvvmLight.Extras.WPF4 for…
user1173306
  • 41
  • 1
  • 4
4
votes
2 answers

How could I know if all my modules are loaded in prism 4?

I have a WPF Desktop application using PRISM, there are 12 modules which do not depend on each other , every time i start the shell, modules are been loaded , the point is that I would like to know which module loads at the last so I could start an…
Ehsan Zargar Ershadi
  • 24,115
  • 17
  • 65
  • 95
4
votes
1 answer

Could not load file or assembly 'System.Windows.Controls' in silverlight 5 using prism4

I'm creating an application silverlight 5 using prism 4 and when I'm running the bootstrapper using UnityBootstrapper then I have the next error: Could not load file or assembly 'System.Windows.Controls, Version=2.0.5.0, Culture=neutral,…
4
votes
2 answers

Prism, ServiceLocator and Unity container hierarchy and multi-window WPF application

I want to build a WPF/Prism application where each top level window is in its own UI thread. That is fairly straight forward to do. I am using Unity as my DI container and would like to create a hierarchy of containers. In the simplest case, the…
m-sharp
  • 16,443
  • 1
  • 26
  • 26
4
votes
5 answers

PRISM + MEF -- Can't get regions to work properly

a bit new to Prismv4 and MEF. I went through the QuickStarts and tried to combine two of them together, but I can't seem to get it working. First, I got a Bootstrapper to load the Shell Window. public sealed class ClientBootstrapper :…
michael
  • 14,844
  • 28
  • 89
  • 177
4
votes
3 answers

Prism navigation - previous and next view

I'm developing a wpf application using prism and MVVM. I have a main shell, which has two regions: Menu region and Main region. I'm trying to implement within the menu region (which contains the MenuView) a BACK and FORWARD buttons, exactly as we…
Cod Fish
  • 917
  • 1
  • 8
  • 37
1
2
3
17 18