Multiple SilverLight apps
-
I just can't seem to locate anything that gives me definitive stuff on being able to host multiple individual SilverLight applications on one web page. I am looking to be able to create a few different individual SilverLight apps and place then on different areas of the page so the user can interact with them individually. Just seem to be having a hard way to show how this is done. Any good examples anyone is aware of?
-
I just can't seem to locate anything that gives me definitive stuff on being able to host multiple individual SilverLight applications on one web page. I am looking to be able to create a few different individual SilverLight apps and place then on different areas of the page so the user can interact with them individually. Just seem to be having a hard way to show how this is done. Any good examples anyone is aware of?
What you might want to do is use a composite application block provided by Microsoft. Using this block, a huge Silverlight application can be broken up into smaller
modules
(these can be nothing but different xap files). Each of the files can then be run side by side on the same webpage. Multiple xap files are loaded into differentregions
. Link here[^].The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick
modified on Saturday, February 5, 2011 11:58 PM
-
I just can't seem to locate anything that gives me definitive stuff on being able to host multiple individual SilverLight applications on one web page. I am looking to be able to create a few different individual SilverLight apps and place then on different areas of the page so the user can interact with them individually. Just seem to be having a hard way to show how this is done. Any good examples anyone is aware of?
You absolutely can do that - the old Silverlight.net site did it, and I also ripped off the idea for interactive "islands" in a web page....it's as simple as you'd think too - just add multiple tags pointing to differnet .xaps. I'd avoid the CAB approach unless you need communication between the apps...it's good, but a little OTT for simple stuff...
C# has already designed away most of the tedium of C++.
-
You absolutely can do that - the old Silverlight.net site did it, and I also ripped off the idea for interactive "islands" in a web page....it's as simple as you'd think too - just add multiple tags pointing to differnet .xaps. I'd avoid the CAB approach unless you need communication between the apps...it's good, but a little OTT for simple stuff...
C# has already designed away most of the tedium of C++.
-
What you might want to do is use a composite application block provided by Microsoft. Using this block, a huge Silverlight application can be broken up into smaller
modules
(these can be nothing but different xap files). Each of the files can then be run side by side on the same webpage. Multiple xap files are loaded into differentregions
. Link here[^].The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick
modified on Saturday, February 5, 2011 11:58 PM