# InProcessSiloHandle.CreateAsync(string, IConfiguration, Action&lt;IHostBuilder&gt;)

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

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.TestingHost/InProcessSiloHandle.cs#L42-L58)

```csharp
public static Task<InProcessSiloHandle> CreateAsync(string siloName, IConfiguration configuration, Action<IHostBuilder>? postConfigureHostBuilder = null)
```

Create a silo handle.

### Parameters

- `siloName` (`string`): Name of the silo.
- `configuration` (`IConfiguration`): The configuration.
- `postConfigureHostBuilder` (`Action<IHostBuilder>`): An optional delegate which is invoked just prior to building the host builder.

### Returns

The silo handle.
