Timeouts in WCF and their default values
Posted
on Dot net Slackers
See other posts from Dot net Slackers
Published on Sat, 06 Mar 2010 00:00:00 GMT
Indexed on
2010/03/07
23:28 UTC
Read the original article
Hit count: 332
Filed under:
There are a lot of timeouts in WCF. let us summarize it here.
Timeouts on binding
These are the most well known timeouts. SendTimeout, ReceiveTimeout, OpenTimeout and CloseTimeout. They can be set easily either through config or code on the Binding. The default value for those are 1 minute.
E.g in code
Binding binding = new NetTcpBinding(SecurityMode.Transport)
{
SendTimeout = TimeSpan.FromMinutes(10),
ReceiveTimeout = TimeSpan.FromMinutes(10),
OpenTimeout...
Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
© Dot net Slackers or respective owner