How to use GZip compression for Windows Phone 7
1/25/2012source: fabienlavocat.com
![]()
A smooth and fast user experience is definitely the main argument for a mobile application. With Silverlight as main technology of UX development for Windows Phone, it's easier to make an application smooth and fast, but sometimes when your application has to retrieve a big amount of data that you can't avoid, even few KB in less for each request to the server is a better experience for the user. Web browsers use for a long time the GZip technology to compress the data transferred between the client and the server. The native WebClient does not support this feature. But you can use the GZipWebClient created by Morten Nielsen in order to enable it. Jeff Wilcox talks about this package on his blog.
How to install the package?
The package SharpGIS.GZipWebClient is available via NuGet. Just right click on your project, then Manage NuGet Packages. and search for SharpGIS.GZipWebClient.
...Read more
You can also follow us on Twitter @winphonegeek
Comments
New! WindowsPhoneGeek Component Marketplace
Our Top Articles & Free books
- Our FREE e-book: "Windows Phone Toolkit In Depth" 2nd edition
- 400+ Windows Phone Development articles in our Article Index
- 21 WP7 Toolkit in Depth articles covering all controls
- 12 WP7 Coding4Fun Toolkit in Depth articles covering all controls
- Performance Tips when creating WP7 apps
- Creating a WP7 Custom Control in 7 Steps
- WP7 working with VisualStates: How to make a ToggleSwitch from CheckBox
- What makes a WP7 App successful
- Creating theme friendly UI in WP7 using OpacityMask
- Implementing Windows Phone 7 DataTemplateSelector and CustomDataTemplateSelector
Our Top Tips & Samples
- All about WP7 Isolated Storage series
- WP7 Dynamically Generating DataTemplate in code
- 5 tips for a successful WP7 Marketplace submission
- WP7: Navigating to a page in different assembly
- WP7 ContextMenu: answers to popular questions
- WP7 ListBox: answers to popular questions
- WP7 working with Images: Content vs Resource build action
- WP7 Element Binding samples
- WP7 working with XML: reading, filtering and databinding
- Drawing in WP7: #2 Drawing shapes with finger
- WP7 TextBox Light theme problems - the solution
- Changing the WP7 Panorama Background Image dynamically with Animation
