WCF SDK Question:
Download Questions PDF

How to set the timeout property for the WCF Service client call?


The timeout property can be set for the WCF Service client call using binding tag.
binding = "wsHttpBinding"
bindingConfiguration = "LongTimeout"
<binding name = "LongTimeout" sendTimeout = "00:04:00"/>
If no timeout has been specified, the default is considered as 1 minute.

Download WCF SDK Interview Questions And Answers PDF

Previous QuestionNext Question
How to configure Reliability while communicating with WCF Services?How to deal with operation overloading while exposing the WCF services?