OrleansServiceExtensions.WithClustering Method

Definition

Overloads

WithClustering(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Configures the Orleans service to use the provided clustering provider.

WithClustering(OrleansService, IProviderConfiguration)

Configures the Orleans service to use the provided clustering provider.

WithClustering(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Source:
OrleansServiceExtensions.cs
Source:
OrleansServiceExtensions.cs

Configures the Orleans service to use the provided clustering provider.

public static Aspire.Hosting.Orleans.OrleansService WithClustering (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> provider);
static member WithClustering : Aspire.Hosting.Orleans.OrleansService * Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithClustering (orleansServiceBuilder As OrleansService, provider As IResourceBuilder(Of IResourceWithConnectionString)) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

Returns

>The Orleans service builder.

Applies to

WithClustering(OrleansService, IProviderConfiguration)

Source:
OrleansServiceExtensions.cs
Source:
OrleansServiceExtensions.cs

Configures the Orleans service to use the provided clustering provider.

public static Aspire.Hosting.Orleans.OrleansService WithClustering (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, Aspire.Hosting.Orleans.IProviderConfiguration provider);
static member WithClustering : Aspire.Hosting.Orleans.OrleansService * Aspire.Hosting.Orleans.IProviderConfiguration -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithClustering (orleansServiceBuilder As OrleansService, provider As IProviderConfiguration) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

provider
IProviderConfiguration

The provider.

Returns

>The Orleans service builder.

Applies to