I want to increase the request timeout for a specific controller action in my application. I know I can do it in the web.config for the entire application, but I\'d rather c
You can set this programmatically in the controller:-
HttpContext.Current.Server.ScriptTimeout = 300;
Sets the timeout to 5 minutes instead of the default 110 seconds (what an odd default?)