Cross domain request in Silverlight 2.0 beta 2
Posted by: Al Pascual,
on 11 Sep 2008 |
View original | Bookmarked: 0 time(s)
So you started using Silverlight and you wanted to download a RSS feed, talk to a web service or download a few images from a website to realize that many of the requests you made come back to you empty or you get the 404 error. How do I get the error when I know that web page or image is there? There are 2 methods in Silverlight to make HTTP requests to a server, both methods WebClient and HttpWebRequest check at the destination domain for the file crossdomain.xml WebClient webClient = new...