System.ServiceModel Namespa ...


.NET Framework Class Library
WebHttpBinding Class

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)
Syntax

Visual Basic (Declaration)
Public Class WebHttpBinding _
    Inherits Binding _
    Implements IBindingRuntimePreferences
Visual Basic (Usage)
Dim instance As WebHttpBinding
C#
public class WebHttpBinding : Binding, 
    IBindingRuntimePreferences
Visual C++
public ref class WebHttpBinding : public Binding, 
    IBindingRuntimePreferences
JScript
public class WebHttpBinding extends Binding implements IBindingRuntimePreferences
Remarks

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.

Inheritance Hierarchy

System..::.Object
  System.ServiceModel.Channels..::.Binding
    System.ServiceModel..::.WebHttpBinding
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

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.
Version Information

.NET Framework

Supported in: 3.5
See Also

Reference

Tags :


Page view tracker