Peter
Peter

Reputation: 97

How to debug WCF service with Silverlight

I have two solutions, one is the WCF service and the other one is the Silverlight. I would like to use the debugger on both solutions at the same time. The debugger for the WCF service automatically starts a ASP.NET development server. However, I have a hard time making my Silverlight client connecting to the ASP.NET development server. The error says that I'm lacking of the client domain policy file.

Does anyone know where should I put the clientaccesspolicy.xml for the ASP.NET development server?

Thanks a lot!

Upvotes: 1

Views: 1576

Answers (1)

Michael Todd
Michael Todd

Reputation: 17051

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.

Upvotes: 2

Related Questions