Sunday
Oct052008
ADO.NET Data Services / Silverlight Cross Domain Access
Sunday, October 5, 2008 at 10:18PM One of the issues I was hoping to see fixed in RTM of the Silverlight client for ADO.NET Data Services was the cross domain access. From the response to this forum post here it looks like that won’t be in the RTM bits either.
One thing you can do as a work around is move the code for your data service to a class library then in the Silverlight hosting web project simply create a shell data service that inherits from the one in your common class library.
This doesn’t solve the problem if you don’t control the data service you are trying to consume at that point your only option appears at this point to be to use HttpWebRequest.
Reader Comments