Hot answers tagged silverlight
Update Ok, I see from comments that you are using phone7 - the story is slightly different than mainstream silverlight as there is ONLY ClientHttp stack and you will need to manually decompress, as you have found out. I use Silverlight.SharpZipLib for this purpose. Good luck. Here is a method that will work in Silverlight and Phone 7. You can use it for ...
These are rolling out, and should be on all API and StackAuth instances soon-ish.
Random thing to try, but I wonder if this is a compression issue? i.e. WebClient (on silverlight) is failing to decode GZIP of DEFLATE encoded data. What http headers do you send/receive? (via a network trace)
Source As an example of how leveraging Soapi.CS and the reusable controls in Soapi.Contrib.Silverlight can increase productivity when writing code against the API, I include the source code for the Soapi.Explore Silverlight application. // // Project: SOAPI // http://soapics.codeplex.com // http://stackapps.com/questions/386 // // Copyright 2010, ...
Source Code: As is the case with any application written using Soapi for api access, the code needed to get the data you want from the API is the least amount of code you have to write and by far the easiest to understand. Here is the source code for single page of the application. (There are several helper classes like value converters to format dates, ...
Only top voted, non community-wiki answers of a minimum length are eligible