Silverlight and clientaccesspolicy.xml
Posted
by JerA
on Stack Overflow
See other posts from Stack Overflow
or by JerA
Published on 2010-02-01T14:00:15Z
Indexed on
2010/04/20
21:03 UTC
Read the original article
Hit count: 659
I have a silverlight app hosted on "dev.system-engine.com" which creates an tcp connection connecting to "dev.system-engine.com"
the silverlight app and the policy file are on the "dev.system-engine.com" webserver.
"system-engine.com" and "dev.system-engine.com" are separate servers.
I cannot seem to get it to work. I have been struggling with the policyfile.
<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from>
<domain uri="http://dev.system-engine.com:80"/>
</allow-from>
<grant-to>
<domain uri="http://dev.system-engine.com:80"/>
<socket-resource port="80" protocol="tcp"/>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
© Stack Overflow or respective owner