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

Posted by Alok under WCF on 3/19/2015 | Points: 10 | Views : 366 | Status : [Member] | Replies : 2
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

Posted by: Jitendrasoft09 on: 3/21/2015 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi,

I would suggest that you can use svcutil command as given below code or another way you can see using services.msc
svcutil net.tcp://mycustomWCFService:8123/MyService/mex


Please refer below link-
http://stackoverflow.com/questions/6310153/how-to-ping-or-check-status-of-wcf-service-using-net-tcp-endpoint-from-remote-se

Jitendra Kumar
If my post helps you, plz mark as an answer.

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

Login to post response