Skip to content
DocsTry Aspire
DocsTry

withGrainStorage

Method
📦 Aspire.Hosting.Orleans v13.4.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
namestring
providerIResourceWithConnectionString
OrleansService

Applies to

This method applies to the following types: