Solved

Webservice compression to speed up the performance

Posted on 2011-03-05
4
733 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

749 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