# TestClusterHostFactory.CreateSiloHost(string, IConfiguration, Action&lt;IHostBuilder&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterhostfactory/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterhostfactory/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterHostFactory.cs#L38-L71)

```csharp
public static IHost CreateSiloHost(string hostName, IConfiguration configuration, Action<IHostBuilder> postConfigureHostBuilder = null)
```

Creates an returns a new silo.

### Parameters

- `hostName` (`string`): The silo name if it is not already specified in the configuration.
- `configuration` (`IConfiguration`): The configuration.
- `postConfigureHostBuilder` (`Action<IHostBuilder>`): An optional delegate which can be used to configure the host builder just prior to a host being built.

### Returns

A new silo.
