Skip to content

AzureTableStorageHostingExtensions Methods

Extensions for configuring Azure Table Storage as the journal storage provider.

AddAzureTableJournalStorage(ISiloBuilder)

staticextension
View source
public static ISiloBuilder AddAzureTableJournalStorage(this ISiloBuilder builder)
Configures Azure Table Storage as the journal storage provider.

Parameters

builderISiloBuilder
The silo builder.

Returns

The silo builder.

Exceptions

System.ArgumentNullException
builder is null.

AddAzureTableJournalStorage(ISiloBuilder, Action<AzureTableJournalStorageOptions>)

staticextension
View source
public static ISiloBuilder AddAzureTableJournalStorage(this ISiloBuilder builder, Action<AzureTableJournalStorageOptions>? configure)
Configures Azure Table Storage as the journal storage provider.

Parameters

builderISiloBuilder
The silo builder.
configureAction<AzureTableJournalStorageOptions>
The delegate used to configure the journal storage provider.

Returns

The silo builder.

Exceptions

System.ArgumentNullException
builder is null.

AddAzureTableJournalStorage(ISiloBuilder, string, Action<AzureTableJournalStorageOptions>)

staticextension
View source
public static ISiloBuilder AddAzureTableJournalStorage(this ISiloBuilder builder, string name, Action<AzureTableJournalStorageOptions>? configure)
Configures a named Azure Table Storage journal provider.

Parameters

builderISiloBuilder
The silo builder.
namestring
The provider name.
configureAction<AzureTableJournalStorageOptions>
The delegate used to configure this provider, or null to use separately configured options.

Returns

The silo builder.

Exceptions

System.ArgumentNullException
builder is null.
System.ArgumentException
name is empty or whitespace.