Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMemoryGrainStorage

Method
📦 Aspire.Hosting.Orleans v17.0.0
func (OrleansService) WithMemoryGrainStorage(name string) OrleansService

Signature

methodWithMemoryGrainStorage
Adds an in-memory grain storage to the Orleans service.
WithMemoryGrainStorage(name string) OrleansService
namestringThe name of the provider. This is the name the application will use to resolve the provider.
OrleansService

The Orleans service builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: