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
3
votes
1 answer

Load Prism module with stand-alone module manager

The WPF application I am working on will have numerous add-ins to extend its functionality. Each add-in will consist of one or several assemblies (usually a "main" add-in assembly with separate assemblies for presentation-layer components and…
Matthew
  • 155
  • 1
  • 11
3
votes
2 answers

WPF Prism error while showing a Window include a Region

I'm working on my WPF Prism application and trying to show some of my different Views in a Region. So i use the following code in my Shell.xaml and it works well (it shows multiple view under each-other).
Ramin Bateni
  • 16,499
  • 9
  • 69
  • 98
3
votes
2 answers

Prism PopupChildWindowAction in Desktop DLL missing

I am trying to implement modal dialog in the WPF Prism Desktop application. From Prism guidance I can see that proper way should be using Interaction:
user007
  • 1,122
  • 1
  • 10
  • 30
3
votes
3 answers

Purpose of using Shared Services PRISM

What is the purpose and usings of shared services in prism ? What things can make me think that I have to use shared services instead of EventAggegator?
HichemSeeSharp
  • 3,240
  • 2
  • 22
  • 44
3
votes
1 answer

Model persistence - where should this happen?

My question is in regard to the first "M" in MVVM, the model. I see a ton of variations on how to implement the model. Some are just POCO's with no business logic and no persistence logic, and others contain one or both. Right now, in our…
Chris Klepeis
  • 9,783
  • 16
  • 83
  • 149
2
votes
1 answer

How are PRISM V4 Views loaded without parameterised constructor?

I have a question about the way Views are loaded. I have this sample code shown below of a view that loads correctly: [ViewExport(RegionName = RegionNames.LeftRegion)] [PartCreationPolicy(CreationPolicy.Shared)] public partial class…
user1309226
  • 739
  • 1
  • 10
  • 31
2
votes
1 answer

BindingMode.TwoWay does not work with UserControl (not update source property)

I have created Custom User Control which contain TextBox and PasswordBox. it is binding completely work but when i changed any value inside TextBox or PasswordBox of user control then my source property does not getting refreshed. Following are the…
imdadhusen
  • 2,493
  • 7
  • 40
  • 75
2
votes
2 answers

Debugger doesn't hit Module at all if I insert a breakpoint nothing is hit and giving me an error

I am facing problem ( Important to notice that the debugger doesn't hit CivicaHousingRepairsModule at all .... If I insert a breakpoint in the first line ... nothing is hit.) since last 2 days without any clue. I have created sample application…
Manoj Savalia
  • 1,402
  • 3
  • 13
  • 36
2
votes
1 answer

login design in prism 4.0

this question might sound silly. I want to do login page by editing the template in VS2010 with Prism 4.0 as the template. as a login page, it will have 2 textbox, one is username and another one is password. in one button click, i want that button…
ct_anas
  • 21
  • 1
2
votes
1 answer

Devexpress thememanager routed event already used when instantiating prism view

I am building a business app based on a tiny variation of the Prism framework (couple of changes in behaviour but nothing in areas that would affect my issue. I built a shell application, with a shell window that was created using the devexpress…
Adam
  • 1,011
  • 1
  • 10
  • 25
2
votes
2 answers

Composite view - View already exists in region error

I am working on a WPF/Prism 4/AvalonDoc application. One of my views is very complicated and a ViewModel become huge and unmanagable. So I decided to split it to smaller views with their own ViewModels. I have placed a region on the view and…
Michael D.
  • 1,249
  • 2
  • 25
  • 44
2
votes
1 answer

Activating views in regions in Prism

I have problem that I don't seem to be able to solve. I have a created a test project, using MEF and Prism4. I've created a test project where I have 2 views and each of them register themselves inside a region, and also a button in another region.…
mmmm
  • 2,431
  • 2
  • 35
  • 56
2
votes
1 answer

Example of using Prism 4 for Windows Phone 7

Is there a simple example of using the Prism 4 MVVM framework for Windows Phone 7? And the tests have written, and documentation -- but most important - EXAMPLES are absent. P.S. What are they thinking about???
codecity
  • 23
  • 2
2
votes
2 answers

Breaking the .NET MEF import chain

For this example you can assume toplevel is importing ClassA. MEF seems to work great as long as you import everything (ie ClassX). Often you don't need to import because classB is in same namespace/file. As a result the import chain is now…
aidesigner
  • 553
  • 2
  • 8
  • 15
2
votes
2 answers

Using UnityEventAggregator only from Prism

I am trying to use the Unity event aggregator to do messaging between various parts of an application. Currently, this is the only feature of the Prism framework that I would like to use. I am having some trouble understand basic concepts I…
Jonathan
  • 31
  • 4