I have
<system.web>
<httpRuntime maxRequestLength="500000000" />
</system.web>
But when I read web.config via
Configuration config = WebConfigurationManager.OpenWebConfiguration(configPath);
HttpRuntimeSection section =
(HttpRuntimeSection)config.GetSection("system.web/httpRuntime");
I see 4096 value for maxRequestLength
!!
How it could be?? Thanks for any clue!
P.S. It is ASP .NET MVC3 Razor project