WCF, Silverlight: clientaccesspolicy.xml not being found

前端 未结 2 1901
攒了一身酷
攒了一身酷 2021-01-20 00:46

I\"m trying to connect my Silverlight application to a WCF service that I\'m hosting myself. I\'ve created a clientaccesspolicy.xml file, and placed it in the service host p

2条回答
  •  臣服心动
    2021-01-20 01:15

    I did not understand how you're hosting your WCF service?

    Is it hosted in a asp.net application or a windows host (self-hosting)? If the latter is the case, you may have to implement a clientaccesspolicy service that provides the content of the clientaccesspolicy.xml file on request.

    For example like this.

提交回复
热议问题