Noemax.WCFX Namespace : SmartHttpBinding Class |
'Declaration Public NotInheritable Class SmartHttpBinding Inherits System.ServiceModel.Channels.Binding
'Usage Dim instance As SmartHttpBinding
public sealed class SmartHttpBinding : System.ServiceModel.Channels.Binding
public class SmartHttpBinding = class(System.ServiceModel.Channels.Binding)sealed;
public sealed class SmartHttpBinding extends System.ServiceModel.Channels.Binding
public __gc __sealed class SmartHttpBinding : public System.ServiceModel.Channels.Binding
public ref class SmartHttpBinding sealed : public System.ServiceModel.Channels.Binding
Using the standard dynamic content negotiation capabilities of the HTTP protocol, this binding detects the encoding that was used to serialize the incoming message and the compression algorithm used (if any) and appropriately decompresses and deserializes the incoming message.
Information obtained from the HTTP header also allows it to detect which message encodings are supported by the remote side and whether it supports compression. The SmartHttpBinding can be configured to use the preferred message encoding and/or compression algorithm to communicate with those clients that support these advanced features without breaking interoperability with those clients and servers that do not support such features.
You can configure the SmartHttpBinding behavior using the CompressionMode and MessageEncodingMode which allow you to set different modes of message encoding and compression.
By using the SmartHttpBinding you can reduce the bandwidth used by your service and improve its processing performance without sacrificing interoperability.
System.Object
System.ServiceModel.Channels.Binding
Noemax.WCFX.SmartHttpBinding
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2