Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 976 Bytes

runtimesettings.md

File metadata and controls

30 lines (21 loc) · 976 Bytes
meta.Title description
Umbraco Runtime Settings
Information on the runtime settings section

Runtime settings

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, limiting requests, and therefore uploaded files, to 2 megabytes. Additionally, it sets a maximum query string length of 90 characters.

Mode can have three values: BackofficeDevelopment (default), Development, and Production.

For more information, see the Runtime modes article.