Go to DotNetFunda.com
 Online : 612 |  Welcome, Guest!   Login
 
Home > Interview Questions > WCF Interview Questions > How to set the timeout property for the ...

call for mock interview


WCF Interview Questions


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

Author: Poster | Posted on: 3/31/2009 5:12:17 PM | Category: WCF | Views:4038 |  Print | Asked In: Many Interviews



Answer:
The 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.

Found interesting? Add this to:

| More


Navigate to:

 Submit Interview Questions

How to configure Reliability while communicating with WCF Services? ...

How to deal with operation overloading while exposing the WCF services? ...

Random Interview Questions
Help: If for some reason you are getting the same question by clicking Next Question or Previous Question, Try clicking Categories link above.

Related interview questions

More ...


Advertisement

About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 9/3/2010 3:45:07 AM