Noemax.WCFX.Channels Namespace : StreamEnhancerBindingElement Class |
'Declaration Public Class StreamEnhancerBindingElement Inherits System.ServiceModel.Channels.BindingElement
'Usage Dim instance As StreamEnhancerBindingElement
public class StreamEnhancerBindingElement : System.ServiceModel.Channels.BindingElement
public class StreamEnhancerBindingElement = class(System.ServiceModel.Channels.BindingElement)
public class StreamEnhancerBindingElement extends System.ServiceModel.Channels.BindingElement
public __gc class StreamEnhancerBindingElement : public System.ServiceModel.Channels.BindingElement
public ref class StreamEnhancerBindingElement : public System.ServiceModel.Channels.BindingElement
This extension can be used only in streaming transfer mode when transport produces chunks that are too small, which prevent the network connection to be utilized efficient. You can use it with any transport binding element, whenever performance does not appear to be optimal or the network is not getting fully utilized by your channels.
StreamEnhancerElement plugs itself between TransportBindingElement and MessageEncodingBindingElement, ensuring that the message encoding consistently produces chunks of optimal size and equal size and also does not flush the buffer when it's not necessary.
You don't need to use StreamEnhancerBindingElement with binding elements and transports provided by WCF-Xtensions.
System.Object
System.ServiceModel.Channels.BindingElement
Noemax.WCFX.Channels.StreamEnhancerBindingElement
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