mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. DotNET
  3. Main content

Silverlight 跨域的策略文件 clientaccesspolicy.xml

2009-10-23 114hotness 0likes 0comments

Silverlight 跨域的策略文件 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>


 


文件编码一定要改成 utf-8  不改的话跨域失败


 


文件一定要放在网站根目录下


??????? ???? Love ????? http://www.seewind.cn

Tag: Nothing
Last updated:2009-10-23

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang