New Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hello, I have created a small test solution to debug the Prism/Child Window code. I believe the MEFBootstrapper is working properly. The Shell code executes to the LoadModuleCompleted event shown in...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hi,I dont understand why yiu are importing the childwindows in the imodule implementation. And also why are you importing the sharedformmodule? Just to access the childwindow properties?Move those 2...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hello gan_s,Let me summarize my main objectives. First, I want to loosely couple the Shell through Prism to a separate XAP file that contains a Child Window. This child window would in turn load...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hi Warren,The idea behind loosely coupled app is to avoid having references, which prism/mef combination solves more easily.For your case this what you do - shell will download your sharedformsmodule...
View ArticleNew Post: Windows 8, WPF VNext, SL5, Prism?
Anyone has any idea when a NuGet package for Prism 4.5 will be available?
View ArticleNew Post: Prism/MEF: how to create nested components with regions
HelloI'm having the following problem.I want to implement ribbon-based app with ribbon tabs as separate MEF component which can also contain MEF components - ribbon groups.In my shell.xaml I have...
View ArticleNew Post: IPartImportsSatisfiedNotification - INavigationAware
Hi Peter,I am not familiar with the new async / await capabilities provided by.NET 4.5 but I believe there could be problems with the OnNavigatedTo method you are defining. Based on my understanding,...
View ArticleNew Post: Prism/MEF: how to create nested components with regions
Hi,Basically, when defining a control as a region, Prism needs to create a region and "adapt" it for the corresponding control. To do this,Prism has a collection of RegionAdapters registered. As out of...
View ArticleNew Post: Prism/MEF: how to create nested components with regions
Hi Demian!Thank you for your response! So if I get it right I need to create a region adapter for RibbonTab control - correct? I.e. by default Prism doesnt now how to insert items in rbbon -...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hello gan_s,I understand that Prism/MEF is designed to loosely couple objects so that you do not have to have a reference. What I do not understand is the syntax for importing the child windows after...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hi Warren,I know its very confusing. Here is what I mean. The handle you are looking for is thecontract name of your exports. And as you can see we are not forcing the shell to know the concrete type...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hi Warren,I know its very confusing. Here is what I mean. The handle you are looking for is thecontract name of your exports. And as you can see we are not forcing the shell to know the concrete type...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hello gan_s,I did as you recommended, and the result was:ex = {System.ComponentModel.Composition.ImportCardinalityMismatchException: No valid exports were found that match the constraint...
View ArticleNew Post: IPartImportsSatisfiedNotification - INavigationAware
Hi Peter,Sorry, after further investigation I found that an await expression can only occur in the body of a method or lambda expression that is marked with anasync modifier. Hence, what I said about...
View ArticleNew Post: IPartImportsSatisfiedNotification - INavigationAware
Hi,nothing to apologies.The link is very usefull and i will try it out.Let me ask in another way. I'm not fixed to use the OnNavigatedTo method if there is any other recommendation to start async...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hi Warren,Based on my understanding in order to avoid having a reference to the child window's project in the main project, you will have to export your child windows instances using a common interface...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hello Agustin,Using an interface as the import vessel makes sense. That is what I had set up last week, but got side tracked with some of the other inputs above.Your example made sense too, but...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hello again,I just thought I would let you know that I am running Windows 7/32 bit/Silverlight 5/Prism 4 libs (11/11/2010) with Visual Studio 2010 Ultimate in case there is something in my system that...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
To make myself clear I never suggested adding a reference to the childwindow module (your SharedFormsModule). I suggested keeping it loose by exporting a typeof(ChildWindow) as ChildWindow is part of...
View ArticleNew Post: How to create a separate XAP file using Prism/MEFBootstrapper for a...
Hi Warren,I was able to run Agustin's sample with the same system setup as yours, except for one difference: I used the4.1 version of Prism instead of version 4. As the sample is created with Prism...
View Article