Difference between BasicHttpBinding vs. WSHttpBinding in WCF Service

The BasicHttpBinding and the WSHttpBinding are designed for interoperability and they are the two most commonly used bindings. Both binding types work best in a load-balanced environment. For performance, the BasicHttpBinding has considerably less overhead than the WSHttpBinding. If you do not need the features that are specific toWSHttpBinding, use the BasicHttpBinding to improve performance. To illustrate the overhead of the WSHttpBinding, compare two simple messages that invoke the GetDataoperation. (This operation is automatically created by using the WCF Service Application project template in Visual Studio.) One message was sent by the BasicHttpBinding. The other was sent by the WSHttpBinding. Both bindings use the default configuration. The first example is the message that was sent with the BasicHttpBinding.

Tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.