I have a Silverlight application which has two different XAPs - an InitialXAP which is loaded statically by the HTML page and a DynamicXAP which is loaded from code within the initial XAP. The DynamicXAP is loaded with code similar to this:
var asm = LoadAssemblyFromXap(stream, "DLLName");
// LoadAssemblyFromXAP will load the DynamicXA...
I have Silverlight application called MyApp. During startup MyApp loads MyApp.Main.xap module using the following code:
WebClient wc = new WebClient();
wc.OpenReadCompleted += new OpenReadCompletedEventHandler(onMainModuleLoaded);
Uri uri = new Uri("MyApp.Main.xap", UriKind.Relative);
wc.OpenReadAsync(uri);
It works. Within MyApp.Main...
Hi there,
I 've a master navigation project with TABS etc...
Now when I click on any of this tab, it will download a saparate XAP file, using MEF. The XAP file also have got their own navigation with the menu bars. Now I want this when I am clicking on any of this menu it shows the page from the xap file. However, it is not able to f...
When Silverlight4 application is build the 'Microsoft.Practices.Unity.Silverlight.dll' assembly is not putting into a separated file zip-file, it is in the XAP-file instead.
To be consistent, here are links to previous questions of the 'How to handle standard assemblies' topic:
[http://stackoverflow.com/questions/3329731/silverlight-ho...
My prism based silveright application is divided into multiple xaps to reduce initial download size and support multi tenant application.
However, I cannot access the resource dictionaries defined in external assembly (i.e. the resource .xaml file is part of an assembly that complies/ is copied into a different xap)
Any suggestions ? b...