Advanced Forum Search Results
-
Sorry, did not get a chance to update this demo to 2.0 final until just now.
Try it again: http://static.johnspurlock.com/silverlight/bostonzoom/demo
-
Wilco B (on the silverlight team) just posted another great synopsis of the various issues with Silverlight2's HttpWebRequest on his blog:
http://wilcob.com/wilco/News/http-requests-in-silverlight.aspx
From the post (emphasis mine):
We could've used the operating system's networking stack and address
all of the feedback we've ...
-
To reiterate, my original post refers to client-side cross-domain http support - which only supports GET and POST.
mchlsync, your HttpWebRequest code will fail when run in silverlight2 (client-side).
I'm aware that calling back to the originating-server is possible by wrapping the browser-native XMLHttpRequest object, this is less ...
-
andrewdavey, here is an astoria forum post regarding silverlight2 support: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3094401&SiteID=1
Doesn't sound very promising.
mchlsync, it is pretty clear that DELETE is not a supported http method in silverlight2. Point reflector at System.Net.BrowserHttpWebRequest ...
-
After a few weeks of using SL2 beta 1 + HTTP against a variety of existing web services - I would break down my enhancement wishlist as follows (out of a possible 100 priority points):
25 Support cross-domain + HTTPS
25 Support http methods other than GET/POST (HEAD/PUT/DELETE/webdav)
20 Custom HTTP request headers
15 Actual HTTP response ...
-
Take a look at:
http://blogs.msdn.com/delay/archive/2008/03/05/lb-sv-faq-examples-notes-tips-and-more-for-silverlight-2-beta-1-s-listbox-and-scrollviewer-controls.aspx
Hope that helps,
- John
-
That was for 1.1 alpha.
In silverlight2, you can actually request an "unlimited" quota. See http://www.wilcob.com/wilco/News/isolatated-storage-in-Silverlight.aspx
-
For what it's worth - the same problem currently exists when accessing the pownce api.
http://api.pownce.com/clientaccesspolicy.xml returns a 200 OK but with an error xml response - invalid from a policy file perspective.
Since a 200 was returned, Silverlight never even checks http://api.pownce.com/crossdomain.xml, which does exist and ...
-
This is documented here: http://msdn2.microsoft.com/en-us/library/cc189008(VS.95).aspx
-
You can either make https calls to the same domain or http cross-domain calls, but not https cross-domain calls.
This is described in http://msdn2.microsoft.com/en-us/library/cc189008(VS.95).aspx
(see "If not HTTPS" in the matrix)
Hope that helps,
- John