file size upload limitation in ASP.NET MVC: more than 1 maxRequestLength setting in web.config(s)
问题 I'd like to have more than 1 setting for maxRequestLength - file size upload limitation (e.g. one for File/New, other for Picture/New). All of my Actions take additional parameters (e.g. /File/New?folderId=234). Single setting works as expected: <httpRuntime executionTimeout="60" maxRequestLength="1024" /> I tried to have 2 settings with 2 location sections in the root web.config, but without any success. I'm not sure what to write in "path" - physical aspx page of a view, or controller