silverlight crossdomainpolicy.xml 文件问题
我制作了一个 silverlight 应用程序,并将其托管在我的本地主机 IIS 上。这个应用程序的 URL 是 http://localhost/default.aspx 我开发了其他 xml-rpc 服务器,它也在同一台机器上运行,其地址是 https:// localhost:8000,我在从 url https://localhost:8000
调用远程函数时遇到问题,我想知道应该在哪里放置 clientaccesspolicy.xml 以及应该放置什么该 xml 文件的内容是专门针对这种情况的吗?
I have made a silverlight application and I have hosted it on my localhost IIS. and the URL of this application is http://localhost/default.aspx
I have developed and other xml-rpc server which is also running on same machine and its address is https://localhost:8000
, I am having problem in calling the remote functions from the url https://localhost:8000
I want to know that where should I place the clientaccesspolicy.xml and what should be the contents of that xml file specifically for this case?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要将 clientaccesspolicy.xml 文件放在端口 8000 处网站的根文件夹中。
它可能是这样的(尽管您应该决定什么是最好的适当的安全性对于您的场景):
You would need to put a clientaccesspolicy.xml file in the root folder of the web site at port 8000.
It could be something like this (although you should decide what the proper security would be best for you scenario):