Freigeben über


OrleansServiceExtensions.WithMemoryGrainStorage Method

Definition

Adds an in-memory grain storage to the Orleans service.

public static Aspire.Hosting.Orleans.OrleansService WithMemoryGrainStorage (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string name);
static member WithMemoryGrainStorage : Aspire.Hosting.Orleans.OrleansService * string -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithMemoryGrainStorage (orleansServiceBuilder As OrleansService, name As String) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

name
String

The name of the provider. This is the name the application will use to resolve the provider.

Returns

>The Orleans service builder.

Applies to