ASP.NET MVC and httpRuntime executionTimeout

前端 未结 5 1866
长情又很酷
长情又很酷 2020-12-07 16:55

I would like to increase the httpRuntime executionTimeout for a subsection of an ASP.NET MVC application.

In a regular Web App, you could u

5条回答
  •  旧巷少年郎
    2020-12-07 17:09

    Take a look a AsyncController, if you use this, you will have the possibility to set a AsyncTimeout attribute on an action method, so you will be able to timeout a request.

    Links that helped me: http://forums.asp.net/p/1564303/3922462.aspx http://dariosantarelli.wordpress.com/2010/10/16/asp-net-mvc-2-handling-timeouts-in-asynchronous-controllers/

提交回复
热议问题