How to set the timeout property for the WCF Service client call?
Submitted by: AdministratorThe timeout property can be set for the WCF Service client call using binding tag.
<client>
<endpoint
...
binding = "wsHttpBinding"
bindingConfiguration = "LongTimeout"
...
/>
</client>
<bindings>
<wsHttpBinding>
<binding name = "LongTimeout" sendTimeout = "00:04:00"/>
</wsHttpBinding>
</bindings>
If no timeout has been specified, the default is considered as 1 minute.
Submitted by: Administrator
<client>
<endpoint
...
binding = "wsHttpBinding"
bindingConfiguration = "LongTimeout"
...
/>
</client>
<bindings>
<wsHttpBinding>
<binding name = "LongTimeout" sendTimeout = "00:04:00"/>
</wsHttpBinding>
</bindings>
If no timeout has been specified, the default is considered as 1 minute.
Submitted by: Administrator
Read Online WCF SDK Job Interview Questions And Answers
Top WCF SDK Questions
☺ | How to set the timeout property for the WCF Service client call? |
☺ | What are contracts in WCF? |
☺ | How to configure Reliability while communicating with WCF Services? |
☺ | What is binding and how many types of bindings are there in WCF? |
☺ | How to deal with operation overloading while exposing the WCF services? |
Top Application Program Categories
☺ | AutoCAD Interview Questions. |
☺ | Microsoft Office Interview Questions. |
☺ | Microsoft Outlook Interview Questions. |
☺ | Microsoft Excel Interview Questions. |
☺ | MATLAB Interview Questions. |