« .NET 3.5 Enhancements Training Kit | Main | Multiple Login’s with Live Messenger »

ADO.NET Data Services / Silverlight Cross Domain Access

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.

Posted on Sunday, October 5, 2008 at 10:18PM by Registered CommenterDavid Yack | CommentsPost a Comment | References1 Reference

References (1)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    HTML 5 allows connections across domains, through use of the Access- Control HTTP header, as defined in a separate W3C specification (which applies identically to normal XHR usage and to server- sent events). A request is made for a resource as usual, but if that resource on the server (in this ...

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>