Web Binding Http
Web Binding Http
Web Binding Http
A binding used to configure endpoints for Windows Communication Foundation (WCF) Web services that are exposed through HTTP requests instead of SOAP messages.
public ref class WebHttpBinding : System::ServiceModel::Channels::Binding, System::ServiceModel::Channels::IBindingRuntimePreferences
public class WebHttpBinding : System.ServiceModel.Channels.Binding, System.ServiceModel.Channels.IBindingRuntimePreferences
type WebHttpBinding = class inherit Binding interface IBindingRuntimePreferences
Public Class WebHttpBinding Inherits Binding Implements IBindingRuntimePreferences
The WCF Web Programming Model allows developers to expose WCF Web services through HTTP requests that use "plain old XML" (POX) style messaging instead of SOAP-based messaging. For clients to communicate with a service using HTTP requests, an endpoint of the service must be configured with the WebHttpBinding that has the WebHttpBehavior attached to it. The WCF Web Programming Model also requires that the individual service operations are annotated with the WebGetAttribute or WebInvokeAttribute attributes. This defines a mapping from a URI and HTTP method to the service operation, as well as the format of the messages used to call the operation and return the results. Support in WCF for syndication and ASP.AJAX integration are both built on top of the WCF Web Programming Model.
|WebHttpBinding() WebHttpBinding() WebHttpBinding() WebHttpBinding()||
Initializes a new instance of the WebHttpBinding class.
|WebHttpBinding(String) WebHttpBinding(String) WebHttpBinding(String) WebHttpBinding(String)||
Initializes a new instance of the WebHttpBinding class with a binding specified by its configuration name.
|WebHttpBinding(WebHttpSecurityMode) WebHttpBinding(WebHttpSecurityMode) WebHttpBinding(WebHttpSecurityMode) WebHttpBinding(WebHttpSecurityMode)||
Initializes a new instance of the WebHttpBinding class with the type of security used by the binding explicitly specified.
|AllowCookies AllowCookies AllowCookies AllowCookies||
Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.
|BypassProxyOnLocal BypassProxyOnLocal BypassProxyOnLocal BypassProxyOnLocal||
Gets or sets a value that indicates whether to bypass the proxy server for local addresses.
|CloseTimeout CloseTimeout CloseTimeout CloseTimeout||
Gets or sets the interval of time provided for a connection to close before the transport raises an exception.(Inherited from Binding)
|ContentTypeMapper ContentTypeMapper ContentTypeMapper ContentTypeMapper||
Gets or sets the content type mapper.
|CrossDomainScriptAccessEnabled CrossDomainScriptAccessEnabled CrossDomainScriptAccessEnabled CrossDomainScriptAccessEnabled||
Gets or sets a value that determines if cross domain script access is enabled.
|EnvelopeVersion EnvelopeVersion EnvelopeVersion EnvelopeVersion||
Gets the envelope version that is used by endpoints that are configured by this binding to receive HTTP requests.
|HostNameComparisonMode HostNameComparisonMode HostNameComparisonMode HostNameComparisonMode||
Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.
|MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize||
Gets or sets the maximum amount of memory allocated, in bytes, for the buffer manager that manages the buffers required by endpoints that use this binding.
|MaxBufferSize MaxBufferSize MaxBufferSize MaxBufferSize||
Gets or sets the maximum amount of memory, in bytes, that is allocated for use by the manager of the message buffers that receive messages from the channel.
|MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize||
Gets or sets the maximum size, in bytes, for a message that can be processed by the binding.
|MessageVersion MessageVersion MessageVersion MessageVersion||
Gets the message version used by clients and services configured with the binding.(Inherited from Binding)
|Name Name Name Name||
Gets or sets the name of the binding.(Inherited from Binding)
|Namespace Namespace Namespace Namespace||
Gets or sets the XML namespace of the binding.(Inherited from Binding)
|OpenTimeout OpenTimeout OpenTimeout OpenTimeout||
Gets or sets the interval of time provided for a connection to open before the transport raises an exception.(Inherited from Binding)
|ProxyAddress ProxyAddress ProxyAddress ProxyAddress||
Gets or sets the URI address of the HTTP proxy.
|ReaderQuotas ReaderQuotas ReaderQuotas ReaderQuotas||
Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.
|ReceiveTimeout ReceiveTimeout ReceiveTimeout ReceiveTimeout||
Gets or sets the interval of time that a connection can remain inactive, during which no application messages are received, before it is dropped.(Inherited from Binding)
|Scheme Scheme Scheme Scheme||
Gets the URI transport scheme for the channels and listeners that are configured with this binding.
|Security Security Security Security||
Gets the security settings used with this binding.
|SendTimeout SendTimeout SendTimeout SendTimeout||
Gets or sets the interval of time provided for a write operation to complete before the transport raises an exception.(Inherited from Binding)
|TransferMode TransferMode TransferMode TransferMode||
Gets or sets a value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer.
|UseDefaultWebProxy UseDefaultWebProxy UseDefaultWebProxy UseDefaultWebProxy||
Gets or sets a value that indicates whether the auto-configured HTTP proxy of the system should be used, if available.
|WriteEncoding WriteEncoding WriteEncoding WriteEncoding||
Gets or sets the character encoding that is used for the message text.
Explicit Interface Implementations
|IBindingRuntimePreferences.ReceiveSynchronously IBindingRuntimePreferences.ReceiveSynchronously IBindingRuntimePreferences.ReceiveSynchronously IBindingRuntimePreferences.ReceiveSynchronously||
Gets a value that indicates whether incoming requests are handled synchronously or asynchronously.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.