views:

22

answers:

2

Hi,

I have been tasked with a project which will entail multiple apps, a master apps which will launch child apps.

Is there a way to launch another SL application from with a SL application? or embed a SL app within another?

OR

Am I barking up the working tree, and should I just have the apps as one.

The reasoning for multiple apps is thats what the architect has given as the outline.

hanks.

+1  A: 

Having a single application will keep the app coherant feeling to the user, as well as ease development.

Typically, the goal with this type of architecture is to prevent loading of XAPs unnecessarily in order to reduce memory/bandwidth consumption.

If this is the case, I would recommend rethinking the architecture, and using something like MEF. This allows automatic discovery and loading of XAPs from the server, while still keeping the application as a single application.

Here's a blog post showing the basic ideas.

Reed Copsey
The application will be run locally so bandwidth from loading isnt an issue. I will have to have futher discussions with the architect team. Thanks for the advice.
JamesStuddart
A: 

Do your apps need to send complex parameters to each other?

Otherwise, navigating to a different Silverlight app basically means opening a new window with its url (optionally containing parameters)

System.Windows.Browser.HtmlPage.Navigate("http://my other app", "a different target");
vc 74
They wont communicate with each other directly. but I think Reed has a better solution
JamesStuddart