A question I recently ran into asked about comparing message sizes when using the default Text Message Encoder used by most bindings in WCF with the Binary Message Encoder used by the TcpBinding, without going through the entire WCF stack and having to use a protocol analyzer.
Here’s a sample application that just serializes an object using the DataContractSerializer and then runs it through both message encoders and presents the results:using System; usin...
No comments yet, be the first one to post comment.