# SiloAzureQueueJsonStreamConfiguratorExtensions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.hosting.siloazurequeuejsonstreamconfiguratorextensions/)

## ConfigureCacheSize(ISiloAzureQueueJsonStreamConfigurator, int) {#configurecachesize-this-orleans-hosting-isiloazurequeuejsonstreamconfigurator-in-cb162ee2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.hosting.siloazurequeuejsonstreamconfiguratorextensions/methods/configurecachesize-this-orleans-hosting-isiloazurequeuejsonstreamconfigurator-in-cb162ee2/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs#L109-L110)

```csharp
[System.Diagnostics.CodeAnalysis.Experimental(StreamingJsonSerializationExperimental, UrlFormat = https://github.com/dotnet/orleans/pull/9618)]
public static void ConfigureCacheSize(this ISiloAzureQueueJsonStreamConfigurator configurator, int cacheSize = 4096)
```

Configures the cache size for the JSON-enabled Azure Queue stream provider.

### Parameters

- `configurator` (`ISiloAzureQueueJsonStreamConfigurator`): The configurator.
- `cacheSize` (`int`): The cache size.

## ConfigureJsonAdapter(ISiloAzureQueueJsonStreamConfigurator, Action&lt;AzureQueueJsonDataAdapterOptions&gt;) {#configurejsonadapter-this-orleans-hosting-isiloazurequeuejsonstreamconfigurator-cb9a8726}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.hosting.siloazurequeuejsonstreamconfiguratorextensions/methods/configurejsonadapter-this-orleans-hosting-isiloazurequeuejsonstreamconfigurator-cb9a8726/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs#L131-L132)

```csharp
[System.Diagnostics.CodeAnalysis.Experimental(StreamingJsonSerializationExperimental, UrlFormat = https://github.com/dotnet/orleans/pull/9618)]
public static void ConfigureJsonAdapter(this ISiloAzureQueueJsonStreamConfigurator configurator, Action<AzureQueueJsonDataAdapterOptions> configureAdapterOptions)
```

Configures the JSON data adapter behavior options.

### Parameters

- `configurator` (`ISiloAzureQueueJsonStreamConfigurator`): The configurator.
- `configureAdapterOptions` (`Action<AzureQueueJsonDataAdapterOptions>`): Action to configure JSON data adapter options.

## ConfigureJsonSerialization(ISiloAzureQueueJsonStreamConfigurator, Action&lt;OrleansJsonSerializerOptions&gt;) {#configurejsonserialization-this-orleans-hosting-isiloazurequeuejsonstreamconfigu-b4c4b0b7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.hosting.siloazurequeuejsonstreamconfiguratorextensions/methods/configurejsonserialization-this-orleans-hosting-isiloazurequeuejsonstreamconfigu-b4c4b0b7/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs#L120-L121)

```csharp
[System.Diagnostics.CodeAnalysis.Experimental(StreamingJsonSerializationExperimental, UrlFormat = https://github.com/dotnet/orleans/pull/9618)]
public static void ConfigureJsonSerialization(this ISiloAzureQueueJsonStreamConfigurator configurator, Action<OrleansJsonSerializerOptions> configureJsonOptions)
```

Configures JSON serializer options for the Azure Queue stream provider.

### Parameters

- `configurator` (`ISiloAzureQueueJsonStreamConfigurator`): The configurator.
- `configureJsonOptions` (`Action<OrleansJsonSerializerOptions>`): Action to configure JSON serializer options.
