Browse by Tags

Tagged Content List
  • Blog Post: Automatic Decompression in WCF

    WCF services that are hosted in IIS can take advantage of compression without making any special encoder changes . In Windows Server 2008 R2, IIS compression is actually turned on by default and WCF as of .Net 4.0 supports decompression by default. So if you've got a WCF web-hosted service on a W2K8R2...
  • Blog Post: Protocol Buffers and WCF

    WCF performance has many aspects. In the previous series I explored how using GZip/Deflate compression can increase performance in areas with low network latency. However, the penalty is that the CPU utilization is much higher. Therefore, it does not apply to many people's situations. Instead of compressing...
  • Blog Post: Compressing messages in WCF part four - Network performance

    The aim of compressing the messages sent from a WCF service is to reduce the amount of traffic on the wire. You could be doing this because you're in a hosted environment such as a cloud service and you have to pay for bandwidth. The tradeoff for compression is an increase in CPU usage. In this post...
  • Blog Post: Compressing messages in WCF part three - Performance analysis

    In this post, I will run a client and service with the GZipMessageEncoder on the same machine and analyze the performance. The WCF sample application for GZipMessageEncoder has been suitable up until now for functional testing. For performance testing, I will be using a harness we commonly use for...
  • Blog Post: Compressing messages in WCF part two - Expanding the GZipMessageEncoder and fixing another bug

    The GZipMessageEncoder is a great sample for learning about MessageEncoders in general. In this post, I will expand the GZipMessageEncoder to do both GZip and Deflate compression. This will accomplish two things: (1) explain various pieces of a MessageEncoder and (2) set a groundwork for future posts...
  • Blog Post: Compressing messages in WCF part one - Fixing the GZipMessageEncoder bug

    The compression options for WCF out of the box are limited in .Net 4.0. However, a sample is provided for GZip compression that shows you how to write your own MessageEncoder that can wrap the output of another encoder and apply GZip to the messages. If your environment has a network bandwidth limitation...
Page 1 of 1 (6 items)