Is it possible to dynamically embed a third-party Silverlight app in your own SL app? If so, would the former have access to the latter’s isolated storage? Or would it have its own iso store?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can certainly download and execute DLLs from XAP files (which are only ZIP files) dynamically as that is how PRISM and other modular Silverlight systems work.
When you ran the third-party app it would complain that you had already defined the root element for the visual tree. You will need to sort that out first.
If you can avoid the other problems, I am guessing the ISO storage will likely be that of the parent application as the third-party app has been loaded into its app domain equivalent.
Update
Based on your comments below, you want to use it downloaded from another site. That will only work of the site has a clientaccesspolicy.xml that allows you to get at the file in the first place.
Summary
Silverlight apps are generally not designed to be consumed by other Silverlight apps. I am not sure what you are trying to do, but you would be better off obtaining the components you require and putting them in your own app.