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

Silverlight Prism slow module loading

I am using Prism and MEF to modularise my Silverlight application but it is quite slow. This is largely down to heavyweight Telerik controls making my module 5 times the its original size. Each of the 3 modules have this problem as they all…
72GM
  • 2,926
  • 3
  • 27
  • 33
0
votes
2 answers

How do I create multiple shells in WPF application

I'm trying to create an application that includes two shells: Login shell Public shell I success to create two shells at the same time using PRISM and MEF, but how I can first to make the login shell, and after the login success I need to create…
Ramzy Abourafeh
  • 1,195
  • 7
  • 17
  • 35
0
votes
2 answers

how to store global value and get in wpf Prism

in my application i had done log-in in WPF using prism after log-in i have to store some value (like user_id,username etc) that can be accessible in to may module so how can i resolve that problem using prism with MEF private void Login() …
Sanjay Patel
  • 955
  • 1
  • 8
  • 22
0
votes
1 answer

How do I implement the logic to navigate once the service result is returned

In a bootstrapper, I have two views. Using the IRegionManager, I navigate between the first and the second view. The first view contains a search box. The user types a string, clicks search. The first view passes the string over to the second view.…
H A
  • 1,251
  • 2
  • 24
  • 39
0
votes
0 answers

Communication between multiple view-models using MVVM & Prism 4.0

I am trying to identify the best appraoch for multiple view-models communication mechanism (eg: View-Model A & View Model B are loosely coupled one. Now I want to pass one value to my View Model B from A. I don't want to use EvenAggregator and the…
AProgrammer
  • 158
  • 3
  • 13
0
votes
1 answer

Wpf PRISM disposable module

I'm having a WPF application that is divided into PRISM modules. I have a service that deals with some unmanaged resources, therefore it implements the IDisposable interface: public class MyCacheService : IMyCacheService, IDisposable { ... } I…
Maksym
  • 458
  • 4
  • 23
0
votes
1 answer

What event can I hook into upon RequestNavigate to userControl?

I have a view in a WPF application I'm writing using PRISM & Unity for IOC/DI. Upon the entering of details in a client view I save details to database then call my regionManagers' requestNavigate to my main client view. I want to call my…
CheGuevarasBeret
  • 1,364
  • 2
  • 14
  • 33
0
votes
3 answers

WPF PRISM/Unity viewModel parameter

I have a view and corresponding view model for adding or editing a customer. If I click the Add new customer button, unity wires me up a nice shiny new CustomerView and passes in my datacontext and view model, and a customer object that are…
CheGuevarasBeret
  • 1,364
  • 2
  • 14
  • 33
0
votes
2 answers

WPF, moving XAML files to another project

I just moved a couple of WPF User controls from one project to another and now I get all these errors when I compile, the same namespaces are said to be missing from all the user controls CodeDom, Windows, Diagnostics and ComponentModel Error 9 …
Pelle
  • 2,755
  • 7
  • 42
  • 49
0
votes
0 answers

How to access parent usercontrol's datacontext.property in injected usercontrol using prism WPF

Hi I am working with WPF PRISM architecture. I have two usercontrols: UCParent--UCParentVM UCChild -- UCChildVM Both have their own viewmodels. Now that I have injected UCChild into UCParent. But I want to access a property…
WPFKK
  • 1,419
  • 3
  • 20
  • 42
0
votes
2 answers

Region or ItemsSource for large data set in ListBox

I'm having trouble figuring out what the best solution is given the following situation. I'm using Prism 4.1, MEF, and .Net 4.0. I have an object Project that could have a large number (~1000) of Line objects. I'm deciding whether it is better to…
Thelonias
  • 2,918
  • 3
  • 29
  • 63
0
votes
2 answers

PRISM 4 + MVVM + WPF + InteractionRequest for Dialogs with details

I am currently working on a project that is using PRISM 4 + MVVM in a WPF 4 application. I have been reading up on InteractionRequest and there seems to be little information on how to implement it so that the dialog is a stylable user control and…
Juan
  • 1,144
  • 1
  • 11
  • 16
0
votes
0 answers

Module Dependency for Directory Catalog - Microsoft PRISM

I am using DirectoryModuleCalatog to load the modules. What I am trying to implement is all the modules needs to be dependent on some specific module. For example, I have one MainModule and several orher modules, what I want is all my modules are…
Ashish Sharma
  • 357
  • 2
  • 5
  • 16
0
votes
1 answer

Loading modules, security and product keys

I'm working on a modular application in .NET using Unity and Prism V4. An advantage to having a modular design is the ability to easily add and remove features. It is a requirement that I am able to create versions of the application that add or…
Alan
  • 7,875
  • 1
  • 28
  • 48
0
votes
2 answers

How do you create ModuleCatalog from Xaml?

I'm using Unity for my IoC container and in my bootstrapper I have this code: protected override IModuleCatalog CreateModuleCatalog() { return Microsoft.Practices.Prism.Modularity.ModuleCatalog.CreateFromXaml( new Uri("modulecatalog.xaml",…
Nick
  • 4,556
  • 3
  • 29
  • 53
1 2 3
17
18