In browser trusted application Silverlight 5
- by Philippe
With the new Silverlight 5, we can now have a In-Browser elevated-trust application.
However, I'm experiencing some problems to deploy the application.
When I am testing the application from Visual Studio, everything works fine because it automatically gives every right if the website is hosted on the local machine (localhost, 127.0.0.1).
I saw on MSDN that I have to follow 3 steps to make it work on any website:
Signed the XAP - I did it following the Microsoft tutorial
Install the Trusted publishers certificate store - I did it too following the Microsoft Tutorial
Adding a Registry key with the value : AllowElevatedTrustAppsInBrowser.
The third step is the one I am the most unsure about. Do we need to add this registry key on the local machine or on the server ? Is there any automatic function in silverlight to add this key or its better to make a batchfile?
Even with those 3 steps, the application is still not working when called from another url than localhost.
Does anybody has successfully implemented a In-browser elevated-trust application? Do you see what I'm doing wrong?
Thank you very much!
Philippe,
Sources:
- http://msdn.microsoft.com/en-us/library/gg192793(v=VS.96).aspx
- http://pitorque.de/MisterGoodcat/post/Silverlight-5-Tidbits-Trusted-applications.aspx