modulair application with multiply windows

Topics: Prism v4 - WPF 4
Dec 11, 2010 at 7:46 PM

I'm creating an application in wpf. I'm settings up the application in multiply modules. I choose prism because the mvvm and modulairity support but need som tips how to manage the windows. the views will be implemented in own window's, the shell would only be a menu bar (and some smaal shortcuts). What is the best way to implemented this with prism? i create a service to fill the toolbar. Now when i press on a item to open a window the window is opening but the viewmodel isn;t inialized by mef. Somebody good ideas to implement this?

Dec 12, 2010 at 9:36 PM

can you give a snippet of your view code behind or xaml of how you are setting up your datacontext for the view in question.  Then a sample of how you setup your viewmodel helps alot to help you