In silverlight5 beta, it supports trust application which allows loading local files. I tried and it works fantastic in both OOB and in browser mode. One question is that, when put my cap on the server, it works fine in OOB mode but doesn't work in browser. I think开发者_运维技巧 debugging locally and deployment is different. Is there a way to request the trust in browser as I tried locally?
Thanks, Howard
There are a number of steps needed:-
- The XAP needs to be signed using a code-signing certificate
Then on the client machine
- A tweak to the registry on the client machine that needs to run a trusted app inbrowser
- The code signing certificate then needs to be installed on the client machine.
Those last two in a real world deployment would be configured using a Group Policy.
See the Beta document topic How to: Enable Trusted Applications to Run Inside the Browser.
精彩评论