Silverlight WCF Service Cross Domain Question
问题 I have a silverlight app (hosted at intranet.mydomain.net) and a WCF service at (webservices.mydomain.net) Do I need a cross-site policy file? If so, what would it look like to only allow access from intranet.mydomain.net? 回答1: Yes, you will need a clientaccesspolicy.xml file in the ROOT of your service domain(webservices.mydomain.net). By default, Silverlight supports calls to Web services on the same domain or site of origin. Same domain means that calls must use the same sub domain,