AppSettings
Description
Complete list over all default settings within the framework.
AppSettings
{
"systemLibraryCommonFramework": {
"app": {
"name": "company_unique_appname",
"debug": false,
"diagnostics": false,
"license": "", // contact support@systemlibrary.com
"forwardedNetworks": "" // Ex: "*"
},
"cache": {
"duration": 180, // > 0
"containerSizeLimit": 60000, // >= 10
"fallbackDuration": 180 // [Pro Tier]
},
"client": {
"timeout": 40001,
"retryTimeout": 10000,
"clientCacheDuration": 1200, // The underlying HttpClient is reused for this duration
"ignoreSslErrors": false,
"throwOnUnsuccessful": false,
"expectContinue": false,
"useRetryPolicy": true,
"useAutomaticDecompression": true,
"useRequestBreakerPolicy": false // [Pro Tier]
},
"config": {
"userSecretsId": ""
},
"cryptography": {
"encryptionKeyDirectory": "" // Ex C:/temp/
},
"json": {
"allowTrailingCommas": true,
"maxDepth": 32,
"propertyNameCaseInsensitive": true,
"jsonIgnoreCondition": "WhenWritingNull",
"WriteIndented": false,
"ignoreReadOnlyFields": true,
"includeFields": true,
"jsonSecureAttributesEnabled": true
},
"log": {
"level": "Warning", // Trace, Information, Warning, Debug, Error, Critical
"format": "Text", // Text, Json, Html
"fullFilePath": "%HomeDrive%/Logs/Dump.log",
"addStacktrace": false,
"addTimestamp": true,
"addAuthenticatedState": true,
"addUrl": true,
"addCorrelationId": true,
"addBrowserName": false
},
"metrics": {
"enable": true, // [Pro Tier]
"metricUIToken": "Demo"
}
}
}