web.config time out api code example Example: set request timeout c# <system.web> <httpRuntime executionTimeout="600"/> </system.web>