BasicHttpBinding
The basicHttpBinding binding is used in order to provide support for older clients that expect a legacy ASMX Web service. The TransportCredentialOnly security mode option passes the user credentials without encrypting or signing the messages.
BasicHttpBinding is suitable for communicating with ASP.NET Web Service (ASMX) based services that conform to the WS-Basic Profile that conforms with Web Services.
- This binding uses HTTP as the transport and text/XML as the default message encoding.
- Security is disabled by default.
- This binding does not support WS-* functionalities like WS- Addressing, WS-Security, WS-ReliableMessaging.
- It is fairly weak on interoperability.
Use the following procedure.
- Create a WCF basicHttpBinding project.
- Start Visual Studio and select New Project from the Start page or from the File menu, select New and then Project.
- After selecting, a dialog will pop up showing all the templates provided by Visual Studio.
- From the Installed Templates select C# then inside that select WCF and inside that you will select WCF Service Application.