michielpost.nl

AgFx and GZIP support

26-03-2012

Morten Nielsen created a great solution for adding GZIP support for your http requests in a Windows Phone application.
http://www.sharpgis.net/post/2011/08/28/GZIP-Compressed-Web-Requests-in-WP7-Take-2.aspx

This works in a lot of situations, but not when you're using AgFx for your requests. Below you can find a WebLoadRequest implementation for AgFx which has support for GZIP.

For this solution to work, you'll have to include a reference to Ionic.Zlib.dll which can be found here:
http://dotnetzip.codeplex.com/

Comments


Stefán Jökull Sigurðarson 26-03-2012
The AgFx OverflowException when using SharpGIS.GZipWebRequest issue has been fixed in the AgFx dev branch on Github :) Once that is pulled into main and a new binary is pushed into NuGet, you can just reference both AgFx and SharpGIS.GZipWebClient and have it out of the box (by using the two-line Gzip WebRequest configuration, as per http://www.sharpgis.net/post/2011/08/28/GZIP-Compressed-Web-Requests-in-WP7-Take-2.aspx) :)


2010 ? 08 ? 06 ? - ?? 5:09 2FThis is such a great resource that you are pdnoirivg and you give it away for free. I enjoy seeing websites that understand the value of pdnoirivg a prime resource for free. I truly loved reading your post. Thanks! 29-11-2015
2010 ? 08 ? 06 ? - ?? 5:09 2FThis is such a great resource that you are pdnoirivg and you give it away for free. I enjoy seeing websites that understand the value of pdnoirivg a prime resource for free. I truly loved reading your post. Thanks!


16-06-2017
Cialis 20 Mg Controindicazioni <a href=http://cial40mg.com/cialis-5mg.php>Cialis 5mg</a> Effets Du Viagra En Image Comprar Bactrim <a href=http://antabuse.ccrpdc.com/cheap-antabuse-online.php>Cheap Antabuse Online</a> Nosipren Prednisona Kamagra Malaga <a href=http://buy-online-kamagra.kamagpills.com>Buy Online Kamagra</a> Where To Mail Order Cialis From India Cialis Grossesse <a href=http://levitra-online-cheap.buylevi.com>Levitra Online Cheap</a> Propecia De 10 Mg Levitra Valencia <a href=http://cheap-viagra-50mg.via100mg.com>Cheap Viagra 50mg</a> Minoxidil Propecia 1mg Rx Legitimate Online Pharmacy <a href=http://generic-priligy-60mg.priliorder.com>Generic Priligy 60mg</a> Cialis Se Puede Comprar Viagra Sur Internet Avis <a href=http://viacheap.com>viagra</a> Levitra Fur Junge Manner


New Comment

Name
E-mail (not published)
Comment
Enter the code shown: