1

我有两种解决方案,一种是 WCF 服务,另一种是 Silverlight。我想同时在两个解决方案上使用调试器。WCF 服务的调试器会自动启动 ASP.NET 开发服务器。但是,我很难让我的 Silverlight 客户端连接到 ASP.NET 开发服务器。该错误表明我缺少客户端域策略文件。

你知道我应该在哪里为 ASP.NET 开发服务器输入 clientaccesspolicy.xml?

非常感谢!

4

1 回答 1

2

clientaccesspolicy.xml needs to be in the root directory for the web server running the WCF service. In your case, this probably means the solution directory for the WCF application (if you're running the web server "in place").

You could also try using Fiddler or Firebug to determine exactly where the file is being requested.

于 2010-07-22T22:35:17.930 回答