Runtime settings
Information on the runtime settings section
Runtime settings allows you to configure the
MaxRequestLength
and MaxQueryStringLength
for your application. Neither of these settings needs to be configured. If nothing is configured reqests and query string can be any size.An example of a configuration could look something like:
"Umbraco": {
"CMS": {
"Runtime": {
"MaxQueryStringLength": 90,
"MaxRequestLength": 2048,
"Mode": "BackofficeDevelopment"
}
}
}
MaxRequestLength
is specified in kilobytes, so this configuration would limit requests, and therefore uploaded files, to 2 megabytes, and a maximum query string length of 90 characters.Mode
can have three values: BackofficeDevelopment
(default), Development
, and Production
.Last modified 1mo ago