Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Encoders   (RSS)

Binary Encoding, Part 7

For the last part in the binary encoding series I'll cover how the use of the string table changes when the encoder is used in a sessionful manner. Here now are all of the past entries in the series: Binary Encoding, Part 1 Binary Encoding, Part 2 Binary
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Binary Encoding Exercise Answers

I've gone ahead and put the message in the exercise in a small test program to demonstrate how the server would handle it. To help you out I've reformatted the input to make the record boundaries clear although the server obviously wouldn't take notice
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Binary Encoding Exercise

Now that I've covered the essentials of the binary format, those interested might want to try their hand at translating an encoded message. This message uses many of the constructs you've seen plus a few more I'll outline here. The record type 0x0B is
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Binary Encoding, Part 6

Past parts in the series: Binary Encoding, Part 1 Binary Encoding, Part 2 Binary Encoding, Part 3 Binary Encoding, Part 4 Binary Encoding, Part 5 We looked last time at some of the patterns used in the binary format for reducing the size of a document.
Posted by Nicholas Allen | 2 Comments
Filed under: ,

Binary Encoding, Part 5

Past parts in the series: Binary Encoding, Part 1 Binary Encoding, Part 2 Binary Encoding, Part 3 Binary Encoding, Part 4 The problem we saw last time was that a structural reduction for message fragments does not create a significant savings when the
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Binary Encoding, Part 4

Past parts in the series: Binary Encoding, Part 1 Binary Encoding, Part 2 Binary Encoding, Part 3 Now that you’ve gotten an introduction to the principles and capabilities of the binary encoding format, let’s jump into looking at some examples of messages
Posted by Nicholas Allen | 4 Comments
Filed under: ,

Binary Encoding, Part 3

Past parts in the series: Binary Encoding, Part 1 Binary Encoding, Part 2 Today I’ll talk about the XML features that are and aren’t supported by the binary encoding format we use in WCF. Since the binary format was designed for a specific purpose, round-tripping
Posted by Nicholas Allen | 2 Comments
Filed under: ,

Binary Encoding, Part 2

The binary format we developed is based on a tokenized stream of records and a few Huffman-like coding strategies. Each record starts with a one byte record type value. The record type byte is then followed by binary content of variable format and size
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Binary Encoding, Part 1

This series on the .Net Binary Encoding protocol is going to be similar to the earlier series I did on .Net Message Framing . The two are also somewhat related as they’re used together frequently and the messaging framing protocol has direct knowledge
Posted by Nicholas Allen | 2 Comments
Filed under: ,

Top Down Binding Element Order

Why does a message encoder have to be specified before the transport when constructing a binding? A message encoder doesn’t directly fit into a channel stack because the message encoder type doesn’t implement any of the channel shapes. Instead, a message

Binary Http Binding

Do I need IIS7 to use binary with HTTP for WCF? No, all you need is a custom binding because we don’t include a standard binding with that configuration out of the box. Here’s a quick example of putting binary and HTTP together with either code or configuration:
Posted by Nicholas Allen | 3 Comments
Filed under: , , ,

Default Message Encodings

What message encoding do I get if I don't include one in the binding? A message encoding binding element is required for any binding that uses an encoding-aware transport. However, it turns out that most transport binding elements include a default message

MTOM Boundary Markers

What is the string "--uuid:…" doing embedded in MTOM messages? That string is a boundary marker that separates one part of the message from another. This scheme of separating message parts using a unique string is common to many types of multipart messages

Message Framing, Part 3

Past entries that you should have read by now: Next Week, a Series Message Framing, Part 1 Message Framing, Part 2 The next record at the start of every legal exchange in the framing format is a message encoding record. The message encoding specifies
Posted by Nicholas Allen | 3 Comments
Filed under: , ,

Not Omitting the XML Declaration

Why doesn't a message start with an XML declaration? The XML declaration is a processing instruction at the beginning of an XML document that gives information about the format and logical structure of the document. You've probably seen the most commonly
More Posts Next page »
 
Page view tracker