which binding is used by our service in WCF. [Resolved]

Posted by Alok under WCF on 3/19/2015 | Points: 10 | Views : 1107 | Status : [Member] | Replies : 1
i have defined both bindings in my web.config in WCF.
wshttpbinding
netTcpBinding

now i want to know which binding our service is using when we call our any method in service on client side.

i have also created proxy of this service on Client Side.

and http,net.tcp bindings are also set in IIS.

Thanks & Regards,
Alokssm



Responses

Posted by: Alok on: 4/8/2015 [Member] Starter | Points: 25

Up
0
Down

Resolved
by default
when all application of our project is own same server(intranet) then nettcpbinding will be used.
but when some some application is located on diffrent servers then in that case wshttpbinding will be used.

For Intranet nettcpbinding will provide fast service response in comparison to wshttpbinding .

Thanks & Regards,
Alokssm

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

Login to post response