prism

WPF Prism deactivate ?

Hi all, I have an problem and would like to know if it is common problem or jsut with me. I am using Wpf with Prism and Unity, all with the pattern MvvM. I am loading a viewModel that has a reference to a dropdown with few items, my idea is that each time that the user click in some place to open the view that has this dropdown is that...

How can you unit test a DelegateCommand

I am trying to unit test my ViewModel and my SaveItem(save, CanSave) delegate command. I want to ensure that CanSave is called and returns the correct value given certain conditions. Basically, how can I invoke the delegate command from my unit test, actually it's more of an integration test. Obviously I could just test the return val...

Smart Client Guidance = Prism? Vs 2010

Hi there, I have found this link http://smartclient.codeplex.com/ which has some updates for vs 2010 .... I don't know but i always seem to get confused i.e. lack of documentation etc..... but is this the same as Prism?? If not can anyone tell me where the differences are... It appears to be a link for designing smartclient so i pr...

WPF UI composition without Prism

Hi, Are there any alternatives to Prism for UI composition (region management etc.)? Thank you. ...

Should we use server generated XAML to deliver our Silverlight/WPF UIs?

Back in January 2009, Dino Esposito published an article on MSDN titled "Managing Dynamic Content Delivery In Silverlight". We are considering using an approach like this for an upcoming project and were wondering if anyone had any advice on whether this is a good approach. Are there any traps or pitfalls we should look out for? We curre...

Will Prism OnDemand module loading work in an OOB scenerio?

Should the loading of OnDemand Prism modules work in an OOB scenerio? If so, I cannot seem to make it work. Everything is currently working in browser without any problems. Specifically I: register my modules in code: protected override IModuleCatalog GetModuleCatalog() { var catalog = new ModuleCatalog(); Uri source...

Where does the data model go in a Prism app?

I'm having trouble where to put our data model in our Prism app. Most, if not all or our data will be coming from web services and the web services are unique for each module. Unfortunately, there will be objects that need to be shared (such as a person/user object). I'm really torn about whether to add these services directly to the ...

Where can I find latest (beta/ctp maybe) version of Prism and/or any quickstart for composite WPF applications with Visual Studio 2010?

All I've found about composite applications is for VS 2008. How do I start with composite WPF applications with VS 2010? Can you recommend a good intro for creating a composite WPF application from scratch with Visual Studio 2010? ...

Prism : Change the active view

Hi, I've got an little tool similar to the Windows Control Panel. The tool allows us to manage users, configure databases, manage scripts, etc. The home page presents all the sub categories of the application. When you click on a link, it loads the view of this category in the right panel and a small left panel shows the tasks available...

Prism: How to render one view on top of another

We have a Prism/WPF application and are using an expander to animate a menu. When the expander expands, the content is rendered behind the main region's content. The menu is in a different region than the content it is supposed to overlay (since the menu governs what items go into that region) which is why this is occurring. We have...

Prism Templates pack vs2010 install location

Hi Does anybody know once you install the prism templates vs2010 where are they Installed? I cannot find in anywhere. I am using windows 7 Thanks a lot ...

How to get child container reference in View Model

Hello, I´m trying to share a Data Service (Entity Manager) wrapped in a Repository from a ViewModel (called 'AVM') in Module A to a ViewModel (called 'BVM') in Module B, and I can't get this working. We use PRISM/Unity 2.0 This is my scenario: A user may open multiple Customer screens (composite view as mini shell) each with another ...

How to organize Enterprise scale Composite Applications (CAG)

All QuickStarts and RI examples in the CAG documentation are good but I lack the more Enterprise scale examples. Let's say we have 40+ modules, each containing a Proxy,Facade,PresentationModel,Model and Views. Each module also makes calls to a Module-specific WCF service which is to be hosted in IIS or in a stand-alone console host. Ou...

Can I remove duplicating events in EventAggregator?

Hi, I have a quite simple scenario that I cannot get to work correctly. I have 2 views, CarView and CarWindowView (childwindow) with corresponding ViewModels. In my CarView I have an EditButton that that opens CarWindowView (childwindow) where I can edit the Car object fields. My problem is that the DisplayModule method in my CarWindow...

SL 'Composite' Navigation Application

In a silverlight composite application, is it possible to implement navigation, so that the back and forward buttons would be functional? ...

WPF Prism interesting sample application

Hi, I'm looking for a good example of WPF Prism (or Composite Application Guidance) sample code that would not be as complicated as the StockTraderRI or as simple as HelloWorld but could explain all the important aspect of writing an application with Prism, preferably with database connection. Tutorials are also appreciated. I have googl...

Silverlight Prism Module Not Ready

I'm building a Silverlight 4.0 application with Prism (a.k.a. Composite Application Guidance). I have two modules, both defined in my ModuleCatalog.xaml as WhenAvailable. My Application_OnStart instantiates my Bootstrapper and invokes it's Run() method. Well after my application is started and up and running (in fact, the user has to ...

Should I use MEF or Prism for my Silverlight project?

Hi! My team(3 developers) will be building a Silverlight LOB application. This is the first Silverlight project for us. We've been doing mostly Winforms. We'll be using Silverlight4 / VS2010 / possibly WCF RIA Services, and ASP.NET Web application to handle authentication and host the silverlight pages. We need a way to.. Modularize t...

Delphi Prism 2011 and Sharepoint

Hi, can i create webparts controls for Sharepoint 2007 in Delphi Prism? If yes, how? Thank you. ...

How to support persistent in EventAggregator?

I am using EventAggregator in Prism, and I want the events persisted, which means when a client subscribes a certain event, the aggregator published the previous events that missed to the client. Is there a way to support this? I know this sounds more like a message queue or something. But the system has already heavily coupled with Eve...