# StackExchangeRedisSettings

- Kind: `class`
- Package: [Aspire.StackExchange.Redis](/reference/api/csharp/aspire.stackexchange.redis.md)
- Version: `13.4.0`
- Namespace: `Aspire.StackExchange.Redis`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.StackExchange.Redis/StackExchangeRedisSettings.cs)

Provides the client configuration settings for connecting to a Redis server.

## Definition

```csharp
namespace Aspire.StackExchange.Redis;

public sealed class StackExchangeRedisSettings
{
    // ...
}
```

## Constructors

- [StackExchangeRedisSettings](/reference/api/csharp/aspire.stackexchange.redis/stackexchangeredissettings/constructors.md#constructor)

## Properties

- [ConnectionString](/reference/api/csharp/aspire.stackexchange.redis/stackexchangeredissettings/properties.md#connectionstring) : `string?` `get; set` -- Gets or sets the comma-delimited configuration string used to connect to the Redis server.
- [DisableAutoActivation](/reference/api/csharp/aspire.stackexchange.redis/stackexchangeredissettings/properties.md#disableautoactivation) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether auto activation is disabled or not.
- [DisableHealthChecks](/reference/api/csharp/aspire.stackexchange.redis/stackexchangeredissettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the Redis health check is disabled or not.
- [DisableTracing](/reference/api/csharp/aspire.stackexchange.redis/stackexchangeredissettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
