Solved

Webservice compression to speed up the performance

Posted on 2011-03-05
4
736 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

690 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