What is the reason behind choosing wshttp binding?

Posted by Shreedar under WCF on 8/31/2015 | Points: 10 | Views : 403 | Status : [Member] | Replies : 1
I want to know why we choose wshttp binding instead of basichttp, nettcp and other.
This was asked in one of my interview on wcf.

Regards

Sridhar Thota.
www.dotnet-sridhar.blogspot.com



Responses

Posted by: Sheonarayan on: 9/3/2015 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
WsHttp supports more features and security options than BasicHttp that is why it is used.

WsHttp binding supports following

1. SOAP 1.2
2. Ws Security - the data is sent after encrypting (no plain text transfer)
3. It has following security options - None, Transport, Message, Transport with message credentials
4. Reliable messaging

The main benefit is that security that reliable communication.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Shreedar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response