Default request timeout for Web Api?

Topics: Web Api
Jan 27, 2012 at 11:34 AM

What is the default timeout for an HTTP request using Web Api hosted on IIS?

To change the server timeout I should change only httpRuntime/executionTimeout (config file)?

There is an equivalent setting in the config used by the HttpClient or I need to set the HttpClient.Timeout property?

thanks
davide

Jan 27, 2012 at 4:00 PM

I don't think there are any settings for that specifically... that's all an IIS setting.

Just like how webforms doesn't have a default timeout. Normally I think IIS defaults to 60 seconds.