ms.topic |
---|
include |
The .NET Aspire Stack Exchange Redis output caching integration supports xref:Microsoft.Extensions.Configuration?displayProperty=fullName. It loads the xref:Aspire.StackExchange.Redis.StackExchangeRedisSettings from configuration by using the Aspire:StackExchange:Redis
key. Example :::no-loc text="appsettings.json"::: that configures some of the options:
{
"Aspire": {
"StackExchange": {
"Redis": {
"ConfigurationOptions": {
"ConnectTimeout": 3000,
"ConnectRetry": 2
},
"DisableHealthChecks": true,
"DisableTracing": false
}
}
}
}
For the complete Redis output caching client integration JSON schema, see Aspire.StackExchange.Redis.OutputCaching/ConfigurationSchema.json.