Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CoreHostingExtensions.UseLocalhostClustering Method

Definition

Namespace:
Orleans.Hosting
Assembly:
Orleans.Runtime.dll
Package:
Microsoft.Orleans.Runtime v10.0.0
Package:
Microsoft.Orleans.OrleansRuntime v2.4.5
Package:
Microsoft.Orleans.OrleansRuntime v3.6.5
Package:
Microsoft.Orleans.Runtime v7.2.5
Package:
Microsoft.Orleans.Runtime v8.0.0
Package:
Microsoft.Orleans.Runtime v8.1.0
Package:
Microsoft.Orleans.Runtime v8.2.0
Package:
Microsoft.Orleans.Runtime v9.0.0
Package:
Microsoft.Orleans.Runtime v9.1.2

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.

Overloads

Name Description
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)

Source:
CoreHostingExtensions.cs

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");
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)

Source:
CoreHostingExtensions.cs

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