Silverlight and clientaccesspolicy.xml
- by JerA
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>