我想增加httpRuntime executionTimeout一个ASP.NET MVC应用程序的子部分.
在常规Web应用程序中,您可以使用:
<configuration>
<location path="UploadPage.aspx">
<httpRuntime executionTimeout="600"/>
</location>
</configuration>
Run Code Online (Sandbox Code Playgroud)
但是,ASP.NET MVC中确实没有"文件夹"的概念,那么我该怎样做呢?
让我们假设ASP.NET MVC路径是/Images/Upload使用ImagesController和Upload Action.