CoreHostingExtensions.UseLocalhostClustering Method

Definition

Overloads

UseLocalhostClustering(ISiloBuilder, Int32, Int32, IPEndPoint, String, String)

Configures the silo to use development-only clustering and listen on localhost.

UseLocalhostClustering(ISiloHostBuilder, Int32, Int32, IPEndPoint, String, String)

Configures the silo to use development-only clustering and listen on localhost.

UseLocalhostClustering(ISiloBuilder, Int32, Int32, IPEndPoint, String, String)

Configures the silo to use development-only clustering and listen on localhost.

public static Orleans.Hosting.ISiloBuilder UseLocalhostClustering (this Orleans.Hosting.ISiloBuilder builder, int siloPort = 11111, int gatewayPort = 30000, System.Net.IPEndPoint primarySiloEndpoint = default, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.ISiloBuilder * int * int * System.Net.IPEndPoint * string * string -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As ISiloBuilder, Optional siloPort As Integer = 11111, Optional gatewayPort As Integer = 30000, Optional primarySiloEndpoint As IPEndPoint = Nothing, Optional serviceId As String = "dev", Optional clusterId As String = "dev") As ISiloBuilder

Parameters

builder
ISiloBuilder

The silo builder.

siloPort
Int32

The silo port.

gatewayPort
Int32

The gateway port.

primarySiloEndpoint
IPEndPoint

The endpoint of the primary silo, or null to use this silo as the primary.

serviceId
String

The service id.

clusterId
String

The cluster id.

Returns

The silo builder.

Applies to

UseLocalhostClustering(ISiloHostBuilder, Int32, Int32, IPEndPoint, String, String)

Configures the silo to use development-only clustering and listen on localhost.

public static Orleans.Hosting.ISiloHostBuilder UseLocalhostClustering (this Orleans.Hosting.ISiloHostBuilder builder, int siloPort = 11111, int gatewayPort = 30000, System.Net.IPEndPoint primarySiloEndpoint = default, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.ISiloHostBuilder * int * int * System.Net.IPEndPoint * string * string -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As ISiloHostBuilder, Optional siloPort As Integer = 11111, Optional gatewayPort As Integer = 30000, Optional primarySiloEndpoint As IPEndPoint = Nothing, Optional serviceId As String = "dev", Optional clusterId As String = "dev") As ISiloHostBuilder

Parameters

builder
ISiloHostBuilder

The silo builder.

siloPort
Int32

The silo port.

gatewayPort
Int32

The gateway port.

primarySiloEndpoint
IPEndPoint

The endpoint of the primary silo, or null to use this silo as the primary.

serviceId
String

The service id.

clusterId
String

The cluster id.

Returns

The silo builder.

Applies to