Silverlight跨域访问wcf

添加文件名为“clientaccesspolicy.xml”的文件

内容: 

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
  <cross-domain-access>
  <policy>
  <allow-from>
  <domain uri="*"/>
  </allow-from>
  <grant-to>
  <resource path="/" include-subpaths="true"/>
  </grant-to>
  </policy>
  </cross-domain-access>
</access-policy> 
posted @ 2013-07-21 19:19  飛雲若雪  阅读(432)  评论(0编辑  收藏  举报