DynamoDBGrainStorageServiceCollectionExtensions.AddDynamoDBGrainStorageAsDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<OptionsBuilder<DynamoDBStorageOptions>>) |
Configure silo to use AWS DynamoDB storage as the default grain storage. |
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<DynamoDBStorageOptions>) |
Configure silo to use AWS DynamoDB storage as the default grain storage. |
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<OptionsBuilder<DynamoDBStorageOptions>>)
Configure silo to use AWS DynamoDB storage as the default grain storage.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorageAsDefault (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> configureOptions = default);
static member AddDynamoDBGrainStorageAsDefault : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorageAsDefault (services As IServiceCollection, Optional configureOptions As Action(Of OptionsBuilder(Of DynamoDBStorageOptions)) = Nothing) As IServiceCollection
Parameters
- services
- IServiceCollection
- configureOptions
- Action<OptionsBuilder<DynamoDBStorageOptions>>
Returns
Applies to
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<DynamoDBStorageOptions>)
Configure silo to use AWS DynamoDB storage as the default grain storage.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorageAsDefault (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Orleans.Configuration.DynamoDBStorageOptions> configureOptions);
static member AddDynamoDBGrainStorageAsDefault : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Orleans.Configuration.DynamoDBStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorageAsDefault (services As IServiceCollection, configureOptions As Action(Of DynamoDBStorageOptions)) As IServiceCollection
Parameters
- services
- IServiceCollection
- configureOptions
- Action<DynamoDBStorageOptions>