With our next service pack you will be able to compress your entire AJAX traffic completely codeless with a single web.config setting:
Support for all traditional ajax requests including RadAjaxManager, RadAjaxPanel, plain UpdatePanel, etc.
Support for all WebService requests with content type "application/json"
Support for all modern browsers including IE7, FireFox, Chrome, etc. IE6 is not supported however you will not get any errors - just uncompressed response!
Will not support Microsoft ASP.NET AJAX 1.0 (available only for .NET 3.5)
Will not support PageMethods
The module will work also without any problems with IIS7 compression!
To check what is the real benefit I've made small demo with two grids:
- first grid bound to LinqDataSource and ajaxified using RadAjaxManager (traditional ajax)
- second grid bound to a WebService (client-binding) with pure JSON response
The result? Page to page two Northwind Customers table with ten records per page:
- traditional ajax: Bytes Received: 3,436 (uncompressed 7,842)
- JSON: Bytes Received: 1,523 (uncompressed 2,965)
Vladimir Enchev is Director of Engineering, Native Mobile UI & Frameworks
Subscribe to be the first to get our expert-written articles and tutorials for developers!
All fields are required