Creating Custom Bindings

A CustomBinding defines a binding by providing a thin wrapper around a collection of binding elements. Custom bindings don’t have any of the niceities of a handcrafted binding, such as properties that provide direct control over the binding elements and their settings. However, in return, a custom binding is very cheap to create and doesn’t…

2

Building a Custom File Transport, Part 4: Binding and Binding Element

Creating a binding and binding element for your transport is entirely optional if you’re just using the channel model. It is possible to do everything you need through the channel factory and listener as long as you make those public. This stops being true at higher levels of abstraction in WCF. If you want to…

3

The Ties that Bind Us, Part 2: Binding

Back to the subject of bindings, a binding is what ties together the description of a channel stack.  A binding contains a collection of binding elements that correspond to protocol channels, transport channels, and message encoders.  In the binding, there can be any number of binding elements for protocol channels but one and only one…

4

The Ties that Bind Us, Part 1: BindingElement

On the road to building a custom channel, we’re going to need to make use of a lot of small but very important pieces of the WCF object model.  The piece that I will be talking about for a few days this week is the B in the ABC’s: bindings.  Bindings are a little mysterious…

4