passing parameters from silverlight application to XAP files in the clientbin

May 4, 2011 at 7:38 AM

I am loading a XAP file say (test.xap) in my silverlight application using MEF . Now I need to send some parameters to this XAP from my silverlight application. Is there any way to send parameters from silverlight application to XAP using MEF . I tried to set a property and export this property from my silverlight application and import this in my XAP.. but ends up with lot exeptions and errors.. No idea how to pass parameters using XAP.. please give me some valuable ideas and code

Coordinator
May 6, 2011 at 2:05 AM

I'm sorry, but your post is very un-clear as to what you are trying to accomplish, and why you need this.

Take a look at the --QueryString option and see if that fits your needs. http://statlight.codeplex.com/wikipage?title=Pass%20configuration%20into%20your%20test%20xap&referringTitle=Documentation

If not, please elaborate on exactly what you are trying to pass to where and why.

Hope this helps.