withGrainStorage

Method
📦 Aspire.Hosting.Orleans v17.0.0
interface OrleansService {
// ... omitted for brevity
withGrainStorage(
name: string,
provider: IResourceWithConnectionString): OrleansService;
}

Signature

methodwithGrainStorage
Adds a grain storage provider to the Orleans service.
withGrainStorage(
name: string,
provider: IResourceWithConnectionString): OrleansService
namestringThe name of the provider. This is the name the application will use to resolve the provider.
providerIResourceWithConnectionStringThe provider to add.
OrleansService

Applies to

This method applies to the following types: