Skip to content
Docs Try Aspire

withGrainDirectory

Function
📦 Aspire.Hosting.Orleans v13.2.0-preview.1.26159.1
interface OrleansService {
// ... omitted for brevity
withGrainDirectory(
name: string,
provider: IResourceWithConnectionString): OrleansService;
}

Signature

method withGrainDirectory
Adds an Orleans grain directory provider
withGrainDirectory(
name: string,
provider: IResourceWithConnectionString): OrleansService
name string
provider IResourceWithConnectionString
OrleansService

Applies to

This function is an extension method on the following types: