A binding used to configure endpoints for Windows Communication Foundation (WCF) Web services that are exposed through HTTP requests instead of SOAP messages.
Namespace:
System.ServiceModel
Assembly:
System.ServiceModel.Web (in System.ServiceModel.Web.dll)
Visual Basic (Declaration)
Public Class WebHttpBinding _
Inherits Binding _
Implements IBindingRuntimePreferences
Dim instance As WebHttpBinding
public class WebHttpBinding : Binding,
IBindingRuntimePreferences
public ref class WebHttpBinding : public Binding,
IBindingRuntimePreferences
public class WebHttpBinding extends 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.
System..::.Object
System.ServiceModel.Channels..::.Binding
System.ServiceModel..::.WebHttpBinding
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5
Reference