# AspireRedisClientBuilder Properties

- Package: [Aspire.StackExchange.Redis](/reference/api/csharp/aspire.stackexchange.redis.md)
- Type: [AspireRedisClientBuilder](/reference/api/csharp/aspire.stackexchange.redis/aspireredisclientbuilder.md)
- Kind: `Properties`
- Members: `3`

Provides a builder for configuring Redis client services using StackExchange.Redis in an Aspire application.

## HostBuilder

- Name: `HostBuilder`
- Modifiers: `get`
- Returns: `IHostApplicationBuilder`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.StackExchange.Redis/AspireRedisClientBuilder.cs#L20)

Gets the `Hosting.IHostApplicationBuilder` with which services are being registered.

```csharp
public IHostApplicationBuilder HostBuilder { get; }
```

## ServiceKey

- Name: `ServiceKey`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.StackExchange.Redis/AspireRedisClientBuilder.cs#L30)

Gets the service key used to register the `Redis.IConnectionMultiplexer` service, if any.

```csharp
public string? ServiceKey { get; }
```

## Settings

- Name: `Settings`
- Modifiers: `get`
- Returns: [StackExchangeRedisSettings](/reference/api/csharp/aspire.stackexchange.redis/stackexchangeredissettings.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.StackExchange.Redis/AspireRedisClientBuilder.cs#L25)

Gets the [StackExchangeRedisSettings](/reference/api/csharp/aspire.stackexchange.redis/stackexchangeredissettings.md) used to configure the Redis client.

```csharp
public StackExchangeRedisSettings Settings { get; }
```
