Solved

Webservice compression to speed up the performance

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
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…
The viewer will learn how to count occurrences of each item in an array.
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 …

746 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

12 Experts available now in Live!

Get 1:1 Help Now