I have a WCF service and a Silverlight application that work just fine when they're deployed to the IIS server.
I want to debug the Silverlight application in Visual Studio on a development machine, but have it talk to the actual service deployed on the server, not to a local instance of it on the development machine.
I was expecting to simply be able to hit F5 in Visual Studio. Of course, I get a 4004 exception, complaining that the service URL (http://iisserver/.../service.svc) is being accessed in a cross-domain way.
On the domain root (http://iisserver/) I placed wide-open crossdomain.xml and clientaccesspolicy.xml files. I still get the exception.
When I look at the HTTP traffic in Web Development Helper or MS Network Monitor, I see NO REQUESTS to the server for either of the cross domain files.
What am I missing here?