Skip to content
Docs Try Aspire
Docs Try

withGrainStorage

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

Signature

method withGrainStorage
Adds a grain storage provider to the Orleans service.
withGrainStorage(
name: string,
provider: IResourceWithConnectionString): OrleansService
name string
provider IResourceWithConnectionString
OrleansService

Applies to

This method applies to the following types: