#Increase upload limit of a path in IIS
It is known that to increase the file upload limit in IIS, we need to change (or add) in web.config the following snippet inside configuration:
<system.web>
< httpRuntime maxRequestLength = "{MAX_SIZE}" />
</ system.web>
This is a risk in security, you are increasing the upload limit to ALL THE SITE.
To increase the upload limit on only a path (E.g: Home/Upload), add the following to web.config:
<location path= "Home/Upload">
< system.web>
< httpRuntime maxRequestLength ="{MAX_SIZE}" />
</ system.web>
</location>