# RedisJournalStorageHostingExtensions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstoragehostingextensions/)

## AddRedisJournalStorage(ISiloBuilder) {#addredisjournalstorage-this-orleans-hosting-isilobuilder-c0370039}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstoragehostingextensions/methods/addredisjournalstorage-this-orleans-hosting-isilobuilder-c0370039/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageHostingExtensions.cs#L18)

```csharp
public static ISiloBuilder AddRedisJournalStorage(this ISiloBuilder builder)
```

Configures Redis as the journal storage provider.

### Parameters

- `builder` (`ISiloBuilder`): The silo builder.

### Returns

The silo builder.

## AddRedisJournalStorage(ISiloBuilder, Action&lt;RedisJournalStorageOptions&gt;) {#addredisjournalstorage-this-orleans-hosting-isilobuilder-system-action-orleans-j-b6f0dd37}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstoragehostingextensions/methods/addredisjournalstorage-this-orleans-hosting-isilobuilder-system-action-orleans-j-b6f0dd37/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageHostingExtensions.cs#L28-L48)

```csharp
public static ISiloBuilder AddRedisJournalStorage(this ISiloBuilder builder, Action<RedisJournalStorageOptions>? configure)
```

Configures Redis as the journal storage provider.

### Parameters

- `builder` (`ISiloBuilder`): The silo builder.
- `configure` (`Action<RedisJournalStorageOptions>`): The Redis journal storage configuration delegate.

### Returns

The silo builder.
