WCF self hosted gzip content without IIS

I have my own wcf service (basichttpbinding) that communicates with an android app that works fine.

A new requirement has now been added to support gzip compression.

I've seen some examples and implemented them, but they had no luck:

http://blogs.infragistics.com/blogs/anton_staykov/archive/2010/08/24/silverlight-wcf-service-compression-azure.aspx

http://www.frenk.com/2009/12/gzip-compression-wcfsilverlight/

When I did a little test, enabling gzip compression in IIS, it works fine, but my script should be a self serving service.

Is there any self-hosted WCF + SOAP + gzip example available that emulates the same IIS gzip functionality?

Many thanks!

+3


source to share





All Articles