c# set timeout for method code example Example: set request timeout c# <system.web> <httpRuntime executionTimeout="600"/> </system.web>