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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for