Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default Timeout values for WCF Endpoints

Tags:

Does anyone know the default values for the timeout of service endpoints in a WCF web service?

like image 214
Theofanis Pantelides Avatar asked Jun 14 '10 13:06

Theofanis Pantelides


People also ask

What is the default timeout for WCF service?

The most common default timeout values within Archiver are: 2 min for querying the Microsoft SQL Server. 5 min for WCF connections (This is used heavily for internal communication between GFI Archiver's own modules).

How can I increase my response time in WCF?

Under the Tools menu in Visual Studio 2008 (or 2005 if you have the right WCF stuff installed) there is an options called 'WCF Service Configuration Editor'. From there you can change the binding options for both the client and the services, one of these options will be for time-outs.

What is SendTimeout?

SendTimeout – used to initialize the OperationTimeout, which governs the whole process of sending a message, including receiving a reply message for a request/reply service operation. This timeout also applies when sending reply messages from a callback contract method.

What is WCF service?

Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application.


1 Answers

According to MSDN the sendTimeout is 1 minute and the receiveTimeout is 10 minutes:

http://msdn.microsoft.com/en-us/library/system.servicemodel.channels.binding.sendtimeout.aspx

http://msdn.microsoft.com/en-us/library/system.servicemodel.channels.binding.receivetimeout.aspx

like image 93
Leom Burke Avatar answered Oct 21 '22 19:10

Leom Burke