Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Webservice compression to speed up the performance

Posted on 2011-03-05
4
Medium Priority
?
749 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 250 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

Hire Technology Freelancers with Gigs

Work with 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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

618 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