IIS7 dynamic content compression and webservices

Posted by vandalo on Stack Overflow See other posts from Stack Overflow or by vandalo
Published on 2010-05-14T10:25:11Z Indexed on 2010/05/14 10:34 UTC
Read the original article Hit count: 243

Filed under:
|
|
|

I am moving and old asmx webservice to a new server with IIS7.
This webservice basically sends a big dataset (10mb+) to a winform application.
The old solution was implemented using a custom soap extension which compressed the content before sending the stream to the client.
The client, of course, implemented the same custom soap extension, to decompressed the stream in a dataset. Everything has worked pretty well for years.
My customer doesn't want to change the code upgrading to WCF. They just want to put the old App on the new server and use the new dynamic content compression features.
We're testing things on a test server (win serv 2008) and it seems that it's working pretty well, even if it seems slow: we can't see any difference in performance (speed) between the uncompressed and compressed stream.
Here's the question. Where should I put the settings? Most people say I can't put it in my web.config; others say it can be put there. I am a bit confused.
Are there any tricks or things I should know? What about mimeTypes? Should I set some parameters, somewhere? ... considering my stream is XML (dataset) ??

Thanks to everyone who would like to help

Alberto

© Stack Overflow or respective owner

Related posts about iis7

Related posts about dynamic