无法远程获取wcf服务
我有两个系统,一个是本地主机(Windows8.1Pro),另一个是虚拟机(WindowsServer2008R2)。 我有一个silverlight应用程序托管在VM中,它正在使用windows服务中安装的localhost提供的WCF服务 问题: silverlight未获取clientaccesspolicy.xml和crossdomain.xml,因此不会获取wcf服务 尝试过的解决方案:无法远程获取wcf服务,wcf,silverlight,Wcf,Silverlight,我有两个系统,一个是本地主机(Windows8.1Pro),另一个是虚拟机(WindowsServer2008R2)。 我有一个silverlight应用程序托管在VM中,它正在使用windows服务中安装的localhost提供的WCF服务 问题: silverlight未获取clientaccesspolicy.xml和crossdomain.xml,因此不会获取wcf服务 尝试过的解决方案: 在安装之前,在WCF服务解决方案中添加了clientaccesspolicy.xml和crossd
Jithendra正如我在上面解释的问题,我使用的是自托管Wcf服务,无法解决问题,所以下面是我所做的
1. Created Default WCF Service application in VS2013 with all my code and added clientaccesspolicy.xml and crossdomain.xml in the solution.
2. Created a new website in IIS Manager to publish my project.
3. and published my project to IIS as filesystem.
4. There we'll have all the files that are necessary.
瞧,一切都很完美
希望它能帮助别人。有什么帮助吗???那可以解决我的问题。