Solved

Webservice compression to speed up the performance

Posted on 2011-03-05
4
731 Views
Last Modified: 2013-11-18
Hi, I need some help to add a compression extension to my webservice to speed up the query results that are very large.
0
Comment
Question by:gocciacinese
  • 2
4 Comments
 
LVL 13

Expert Comment

by:agarwalrahul
ID: 35043062
0
 

Author Comment

by:gocciacinese
ID: 35046801
Hi, thanks for reply! I've implemented the wsCompression library and set the HighLevel compression to the ws method but nothing ha changed. I always get the timeout error because of the large number of results...
0
 

Accepted Solution

by:
Fernandobhz earned 125 total points
ID: 35064063
On top of aspx:

My.Response.Filter = new GZipStream(My.Response.Filter, CompressionMode.Compress, true);
My.Response.AppendHeader("Content-encoding", "gzip");

0
 

Author Closing Comment

by:gocciacinese
ID: 35414751
no
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to count occurrences of each item in an array.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now