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
0
votes
0 answers

How to replace string contents of All Alpha buttons to empty and get them back on pressing Alt

I want to make a virtual keyboard and want to disappear its all contents [a-zA-Z] and get them back on clicking Alt... But my Problem is that I applied a replace function,As these are working properly but I want to write something like…
Ali Zain
  • 1
  • 1
0
votes
0 answers

Can we use DeligateCommand of Prism 4 with a ComboBox in a WPF application?

Am new to WPF. I am creating a WPF 4.5 app with MVVM using Prism 4 and MahApp Metro. In the page I have a combobox where a list of items will be shown and on SelectedItem I would like to show the details for the item in a form below. Now here is…
pasaban
  • 91
  • 1
  • 11
0
votes
2 answers

WPF,MEF,Prism - How to set DataContext in shell

I am using WPF/PRISM/MEF for a desktop application. This is a simple test application that has three regions. The views are defined in an external module. It appears I need to set my shell DataContext. So I set it to a view model as illustrated…
infowanna
  • 169
  • 11
0
votes
1 answer

Windows 8 styled popup window using Prism c# WPF

I'm trying to create a modal popup window using the windows 8 style popup. If I use the standard prism popup methods as described here : http://msdn.microsoft.com/en-us/library/ff921081%28v=pandp.40%29.aspx I only end up getting new windows. What I…
Ruud
  • 65
  • 1
  • 7
0
votes
1 answer

How to publish Event via Prism EventAggregator?

Currently im trying to implement an EventAggregator using prism to publish and subscribe events in between two modules. I try to implement it in the way described here MSDN. But i stuck already at the begin. I implemented an event in my…
ck84vi
  • 1,556
  • 7
  • 27
  • 49
0
votes
1 answer

Where to register custom RegionManager WPF Prism5

I have added an additional method called CustomRequestNavigate(string, Uri); in region manger. Right now question is where to register this to container and replace IRegionManger implementation that comes out of the box in Prism Thanks
WPFKK
  • 1,419
  • 3
  • 20
  • 42
0
votes
0 answers

how to open SaveFileDialog from ViewModel?

In my 1 screen I have a RadGridView & RadMenu. From 1 RadMenuItem I have to allow user to save this Grid Data to Excel. So I have a command which Fires & take RadGridView as a CommandParameter. Everything goes fine till here. But in my code when I…
akirti
  • 179
  • 2
  • 15
0
votes
1 answer

WCF Error in Prism 4.1 Silverlight project

I've create a Project which Host WCF Services it is with EF 6.1 , DevArt Oracle Connector, Unit. I'm able to run this project And Ny *.svc URL is also working. Now I Tried to Use this service in my Prism 4.1 Silverlight Project This is also…
akirti
  • 179
  • 2
  • 15
0
votes
1 answer

WCF RIA Service with Unity 3.5.1.0

I'm trying to Use this Blog for WCF RIA Applcation . So I Create a Silverlight Nevigation Applciation which gave me 2 projects abs & abs.Web More I create 3 project in solution : abs.Data (c#), DbContext Implemeantion of Repository Interfaces…
akirti
  • 179
  • 2
  • 15
0
votes
2 answers

Silverlight 5 ,Prism 5.1 StaticResource Use Not working of static class

I am unable to understand a thing which is as follows. My project is in Prism 4.1 Sliverlight 5. I'm Using MVVM pattern. I've a static class like this { public static class RegionNames { public static string AUTH_LOGIN_REGION =…
akirti
  • 179
  • 2
  • 15
0
votes
1 answer

Prism 4.1 , Silverllight 5 and .Net 4.5.1 DelegateCommant for Button Not working

I'm new to Prism. I'm trying to setup a test project on Prism. I download Prism 4.1 as I found out Prism 5 doesn't work with Silverlight 5 Yet. so My configuration is Like this. I've visual studio 2013 , Silverlight 5 and .Net 4.5.1. A basic…
akirti
  • 179
  • 2
  • 15
0
votes
1 answer

Register to unity or added as reference

I have 3 module in my application. And 1 ServiceLibrary. Module1 Module2 Module3 ServiceLibrary ServiceLibrary will be registered to Unity when Bootstrapper added modules so ServiceLibrary registered to Unity in Module1.…
Michael Riva
  • 531
  • 1
  • 7
  • 16
0
votes
1 answer

Having tabs and none tabs regions in the same container

I have the two classics areas toolbar and content. My problem is that I want to have different forms / areas that have tabs in the same region. One of the areas / form have a document search form and when you click on a row in the search result a…
Martin Andersen
  • 2,460
  • 2
  • 38
  • 66
0
votes
1 answer

WPF listboxitem PreviewKeyDown

I have a listbox that is bound to a list of custom objects. I can get the listbox items to display correctly using the ListBox.ItemTemplate in xaml. The custom objects for the listbox are all of the same base class outlined below. public class…
OriginalMoose
  • 177
  • 16
0
votes
1 answer

Should I make my Prism views a special View class?

I normally just use UserControl for a view, but during this project I thought it might be better to derive a View class from that, and use that as the 'containing' class for views, to allow me to possibly later inject more functionality into a View.…
ProfK
  • 49,207
  • 121
  • 399
  • 775