Naar verwachting zal binnen enkele weken release 26.0 beschikbaar komen.
Voorbeeld appsettings.json
Een voorbeeld van een appsettings*.json is:
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"Server": {
"Id": "name",
"Description": "description",
"NodeName": "NODENAME",
"HostName": "PC12345",
"TdsListenIpAddress": "*",
"TdsListenIpPort": 1433,
"IsMonitorActive": true,
"MonitorListenIpAddress": "*",
"MonitorListenIpPort": 5933,
"SslCertificateFileNamePath": "PATH\NAME.pfx",
"SslCertificatePassword": "PASSWORD",
"UserHttpDiskCacheRootDirectory": "PATH\\cache",
"PublicHttpDiskCacheRootDirectory": "PATH\\public",
"IncDataCacheRootDirectory": "PATH\\incdata",
"PermanentDataCacheRootDirectory": "PATH\\permanent",
"RetrieveFromDiskCacheMaxAgeSec": 57600,
"RetrieveFromHttpMemoryCacheMaxAgeSec": 57600,
"StoreAnswerInDiskCacheMaxAgeSec": 57600,
"StoreInHttpMemoryCache": true,
"StoreInDiskCache": true,
"TdsTrace": {
"TdsTraceAsNdJson": false,
"MaxTdsTraceContentsLength": 2000,
"ConsoleText": true,
"ConsoleError": true,
"ConsoleProtocol": true,
"ConsoleRowData": false,
"ConsoleRowMetadata": false,
"ConsoleWire": false,
"ConsolePacketTypeUnknown": false,
"ConsolePacketTypeSqlBatch": false,
"ConsolePacketTypeRpcRequest": true,
"ConsolePacketTypeTabularResult": false,
"ConsolePacketTypeAttention": false,
"ConsolePacketTypeBulkLoad": false,
"ConsolePacketTypeFedAuthToken": false,
"ConsolePacketTypeTransactionManager": false,
"ConsolePacketTypeLogin7": false,
"ConsolePacketTypeSSPI": false,
"ConsolePacketTypePreLogin": false,
"TraceText": true,
"TraceError": true,
"TraceProtocol": true,
"TraceRowData": false,
"TraceRowMetadata": false,
"TraceWire": false,
"TracePacketTypeUnknown": false,
"TracePacketTypeSqlBatch": false,
"TracePacketTypeRpcRequest": false,
"TracePacketTypeTabularResult": false,
"TracePacketTypeAttention": false,
"TracePacketTypeBulkLoad": false,
"TracePacketTypeFedAuthToken": false,
"TracePacketTypeTransactionManager": false,
"TracePacketTypeLogin7": false,
"TracePacketTypeSSPI": false,
"TracePacketTypePreLogin": false
},
"HostNameToDatabasePostfix": ".database.test.acme.eu",
"IsDemoMode": false,
"Demo": {
"DemoUserName": "demouser",
"DemoUserPassword": "demopassword"
},
"IsCloudMode": true,
"CloudApi": {
"ApiServer": "URL",
"Cognito": {
"ClientId": "CLIENTID",
"ClientSecret": "CLIENTSECRET",
"MetadataAddress": "URL"
}
},
"Local": {
"AvailableDatabases": [
"PUBLIC\\NAME"
],
"TdsUsers": {
"List": [
{
"LogOnCode": "USER",
"Password": "PASSWORD"
}
]
}
},
"MonitorUsers": {
"List": [
{
"LogOnCode": "ADMINUSER",
"Password": "PASSWORD"
}
]
},
"ElasticApm": {
"MinLogLevelWriteToTrace": "Warning",
"MinLogLevelFail": "Error",
"Enabled": true,
"ApiKey": null,
"ApplicationNamespaces": [],
"BaggageToAttach": null,
"CaptureBody": "off",
"CaptureBodyContentTypes": [
"application/x-www-form-urlencoded*, text/*",
"application/json*",
"application/xml*"
],
"CaptureHeaders": true,
"CentralConfig": false,
"CloudProvider": "aws",
"DisableMetrics": [],
"OpenTelemetryBridgeEnabled": false,
"Environment": "Development",
"ExcludedNamespaces": [
"System.",
"Microsoft.",
"MS.",
"FSharp.",
"Newtonsoft.Json",
"Serilog",
"NLog",
"Giraffe."
],
"ExitSpanMinDuration": 0,
"FlushInterval": "00:00:05",
"GlobalLabels": {},
"HostName": null,
"IgnoreMessageQueues": [],
"LogLevel": 3,
"MaxBatchEventCount": 10,
"MaxQueueEventCount": 1000,
"MetricsIntervalInMilliseconds": 5000,
"Recording": true,
"SanitizeFieldNames": [],
"SecretToken": "TOKEN",
"ServerCert": null,
"ServerUrl": "URL",
"ServerUrls": null,
"UseWindowsCredentials": false,
"ServiceName": "Invantive UniversalSQL Server",
"ServiceNodeName": null,
"ServiceVersion": "26.0.0-DEFAULT",
"SpanCompressionEnabled": true,
"SpanCompressionExactMatchMaxDuration": 50,
"SpanCompressionSameKindMaxDuration": 0,
"SpanStackTraceMinDurationInMilliseconds": 5,
"SpanFramesMinDurationInMilliseconds": 5,
"StackTraceLimit": 50,
"TraceContextIgnoreSampledFalse": false,
"TraceContinuationStrategy": "continue",
"TransactionIgnoreUrls": [],
"TransactionNameGroups": [],
"TransactionMaxSpans": 500,
"TransactionSampleRate": 1,
"UseElasticTraceparentHeader": false,
"UsePathAsTransactionName": true,
"VerifyServerCert": true,
"Description": "Invantive UniversalSQL Server configuration"
}
}
}