[Last Call] Learn how to a build a cloud-first strategyRegister Now


Test IIS Compression from windows service call to a web service

Posted on 2012-09-14
Medium Priority
Last Modified: 2012-11-04
I wrote a windows service that calls a web service. I need to confirm that the windows service calls to the web service are being compressed via IIS (dynamic) compression. I tried to use Fiddler but it only shows traffic when I use a web browser to browse pages. It doesn't show the traffic for the web method calls.

Do I need to configure Fiddler differently?
Are there different tools I should use?
Is it enough that I confirm that web browser calls are compressed and assume that the windows service calls are similarly compressed.

Question by:ZekeLA
  • 2
LVL 84

Expert Comment

by:Dave Baldwin
ID: 38400971
I suppose you could use Wireshark but it will be harder to find the requests.  Responses are compressed only if the 'Accept-Encoding' statement in the request header says that 'gzip' is an acceptable response.  Files that do get zipped will have "Content-Encoding: gzip" in the response header.  And this all happens only if the http requester is capable of un-gzipping the file when it is received.
LVL 51

Expert Comment

by:Ted Bouskill
ID: 38401027

Accepted Solution

ZekeLA earned 0 total points
ID: 38550008
I found the solution:

   <!-- use following proxy if analyzing with Fiddler -->
         <proxy proxyaddress="" bypassonlocal="False"/>

Author Closing Comment

ID: 38564928
found solution myself

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

831 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