OrleansServiceExtensions.WithMemoryGrainStorage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.