# TestClusterOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/)

## ApplicationBaseDirectory {#applicationbasedirectory-6828fab9}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/applicationbasedirectory-6828fab9/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public string ApplicationBaseDirectory
```

Gets or sets the application base directory.

### Value

The application base directory.

## AssumeHomogenousSilosForTesting {#assumehomogenoussilosfortesting-aea70d4d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/assumehomogenoussilosfortesting-aea70d4d/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public bool AssumeHomogenousSilosForTesting
```

Gets or sets a value indicating whether to assume homogeneous silos for testing purposes.

### Value

`true` if the cluster should assume homogeneous silos; otherwise, `false`.

## BaseGatewayPort {#basegatewayport-6a67d9cf}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/basegatewayport-6a67d9cf/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public int BaseGatewayPort
```

Gets or sets the base gateway port, which is the gateway port for the first silo. Other silos will use subsequent ports.

### Value

The base gateway port.

## BaseSiloPort {#basesiloport-2026378c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/basesiloport-2026378c/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public int BaseSiloPort
```

Gets or sets the base silo port, which is the port for the first silo. Other silos will use subsequent ports.

### Value

The base silo port.

## ClientBuilderConfiguratorTypes {#clientbuilderconfiguratortypes-2c650483}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/clientbuilderconfiguratortypes-2c650483/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs#L97)

```csharp
public List<string> ClientBuilderConfiguratorTypes
```

Gets the client builder configurator types.

### Value

The client builder configurator types.

## ClusterId {#clusterid-a0c17dc2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/clusterid-a0c17dc2/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public string ClusterId
```

Gets or sets the cluster identifier.

### Value

The cluster identifier.

## ConfigureFileLogging {#configurefilelogging-459d4d55}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/configurefilelogging-459d4d55/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public bool ConfigureFileLogging
```

Gets or sets a value indicating whether to configure file logging.

### Value

`true` if file logging should be configured; otherwise, `false`.

## ConnectionTransport {#connectiontransport-d28c0900}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/connectiontransport-d28c0900/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public ConnectionTransportType ConnectionTransport
```

Gets or sets a value indicating what transport to use for connecting silos and clients.

## GatewayPerSilo {#gatewaypersilo-b51229b6}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/gatewaypersilo-b51229b6/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public bool GatewayPerSilo
```

Gets or sets a value indicating whether each silo should host a gateway.

### Value

`true` if each silo should host a gateway; otherwise, `false`.

## InitialSilosCount {#initialsiloscount-e0b32541}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/initialsiloscount-e0b32541/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public short InitialSilosCount
```

Gets or sets the initial silos count.

### Value

The initial silos count.

## InitializeClientOnDeploy {#initializeclientondeploy-1fa0bb49}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/initializeclientondeploy-1fa0bb49/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public bool InitializeClientOnDeploy
```

Gets or sets a value indicating whether to initialize the client immediately on deployment.

### Value

`true` if the client should be initialized immediately on deployment; otherwise, `false`.

## ServiceId {#serviceid-7cabb30f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/serviceid-7cabb30f/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public string ServiceId
```

Gets or sets the service identifier.

### Value

The service identifier.

## SiloBuilderConfiguratorTypes {#silobuilderconfiguratortypes-b40e64e1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/silobuilderconfiguratortypes-b40e64e1/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs#L91)

```csharp
public List<string> SiloBuilderConfiguratorTypes
```

Gets the silo builder configurator types.

### Value

The silo builder configurator types.

## UseRealEnvironmentStatistics {#userealenvironmentstatistics-6bbca6fd}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/userealenvironmentstatistics-6bbca6fd/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public bool UseRealEnvironmentStatistics
```

Gets or sets a value indicating whether to use the real environment statistics.

## UseTestClusterMembership {#usetestclustermembership-84914179}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusteroptions/properties/usetestclustermembership-84914179/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterOptions.cs)

```csharp
public bool UseTestClusterMembership
```

Gets or sets a value indicating whether to use test cluster membership.

### Value

`true` if test cluster membership should be used; otherwise, `false`.
