Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 910025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:58:40+00:00 2026-05-15T16:58:40+00:00

Using compression with WCF in IIS I can find documentation for, but its oriented

  • 0

Using compression with WCF in IIS I can find documentation for, but its oriented towards using IIS features.

I can find people talking about how they’ve written their own compression handlers, but it all looks pretty custom.

Is there a best practice around compressing WCF? We’re using http bindings.

Edit: setting this as a wiki.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:58:41+00:00Added an answer on May 15, 2026 at 4:58 pm

    There’s nothing out of the box to help you with this.

    You can indeed implement your own compression extensions for WCF – several folks have done it, and you should be able to find it using your favorite search engine.

    But the best thing you could do for your bindings – as long as your clients all are under your control and you can easily configure them – would be to use binary message encoding vs. textual representations of messages.

    You can easily combine binary message encoding with http transport – you need a custom binding, but that’s really not a big deal at all. Lots of folks have done that, too – so you can benefit from work that’s already been done:

    • Binary Http Binding by Nicolas Allen (member of the WCF team at Microsoft)
    • Silverlight 3 WCF Binary Message Encoding
    • WCF Binary Bindings in Silverlight 3 by John Papa (Silverlight envangelist)
    • WCF: Enable Binary Encoding Over Http
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Again a question about compression on wcf services. I'm using netnamedpipe binding to send
Using the System.IO.Compression namespaces classes GZIPStream and DeflateStream I successfully can compress and decompress
HI, I using a compression delphi library that receives a pAnsiChar as parameter. But
Im trying to provide gzip compression using varnish cache. But when I set content-encoding
IIS6 http compression with ASP.NET: is there any disadvantage especially when using ajax updatepanel
When using on_start() does it make any difference to do, // ENABLE GZIP COMPRESSION
Can anyone tell me the difference between using mod_deflate and zlib output_compression? I understand
I have a REST api with Gzip compression enabled, it's developed using the ASP.net
I am using a compression library for my js and css files. However according
MacMini $ git push origin master Counting objects: 1916, done. Delta compression using up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.