A binding element used to configure endpoints for Windows Communication Foundation (WCF) Web services that respond to HTTP requests instead of SOAP messages.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
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 Web model also requires that the individual operations are annotated with either the WebGetAttribute or the WebInvokeAttribute to bind them to a unique combination of HTTP method, such as POST (the default) or GET, and a URI path suffix, which defaults to the operation name.
Support in WCF for syndication and ASP.AJAX integration are both built on top of the Web programming model. For more information about the model, see Web Programming Model.
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.