Which Binding Protocol is best for binding the service with WCF application?

Posted by Samy33 under WCF on 8/30/2010 | Points: 10 | Views : 3710 | Status : [Member] | Replies : 2
There are several protocols used in wcf like TCP,HTTP,Named pipes,MSMQ.In that protocol which protocol is best for binding the wcf application.Can any body help me ?




Responses

Posted by: Raja on: 8/30/2010 [Member] Starter | Points: 25

Up
0
Down
It depends on your scenario.

for example

If your WCF services needs to be consumed in the internal or local network even in the Intranet - TCP is the best

If your WCF services needs to be consumed outside the organization or from throughout the world - HTTP is the way to go

All others you have mentioned are basically for machine to machine communication or if your services and application are within close proximity and within your network.

Hope this will help.

Regards,
Raja, USA

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

Posted by: Abhi2434 on: 8/31/2010 [Member] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
I think if you are working only for LAN(Intranet), NamedPipe will be the best.

If you want it to be used over Internet, HTTP is best.

If you can have WCF in both ends , you can work with TCP.

www.abhisheksur.com

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

Login to post response