This section holds a collection of standard and custom bindings. Each entry is a
binding element that can be identified by its unique
name. Services use bindings by linking them using the
name. Starting with .NET Framework 4, bindings and behaviors are not required to have a name. For more information about default configuration and nameless bindings and behaviors, see Simplified Configuration and Simplified Configuration for WCF Services.
System-provided bindings hide the complexity of the WCF messaging stack. Applications using system-provided bindings do not require full control over the stack. The attributes exposed on each system-provided binding are the ones most appropriate for the usage scenario the binding addresses.
The configuration section for each system-provided binding can define several configurations used to configure the binding. Each configuration is identified by a unique name.
It is not possible to add elements or attributes to a system-provided binding. To do so, you should implement a custom binding as described in the "Custom Binding" section of this topic. It is possible to define a custom binding that mimics a system-provided binding perfectly and adds a few settings the user application wants to have control over.
For a list of system-provided bindings, see System-Provided Bindings.
Custom bindings provide full control over the WCF messaging stack. An individual binding defines the message stack by specifying the configuration elements for the stack elements in the order they appear on the stack. Each element defines and configures the one element of the stack. There must be one and only one
transport element in each custom binding. Without this element, the messaging stack is incomplete.
The order in which elements appear in the stack matters, because it is the order in which operations are applied to the message. The required order of stack elements is the following:
Reliable Messaging (optional)
Custom bindings are identified by their
name attribute. For more information on custom bindings, see Custom Bindings.