# InProcessTestClusterBuilder

Package: [Microsoft.Orleans.TestingHost](/orleans/docs/api/csharp/microsoft.orleans.testinghost/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.TestingHost) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/InProcTestClusterBuilder.cs#L13)

```csharp
public sealed class InProcessTestClusterBuilder
```

Configuration builder for starting a [InProcessTestCluster](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestcluster/).

## Constructors

- [InProcessTestClusterBuilder](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/constructors/constructor-8b665475/)
- [InProcessTestClusterBuilder(short)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/constructors/constructor-short-80b1ba28/)

## Properties

- [Options](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/properties/options-7cbdafb5/)
- [PortAllocator](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/properties/portallocator-e6b444fe/)

## Methods

- [Build](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/methods/build-e7cb20a6/)
- [ConfigureClient(Action&lt;IClientBuilder&gt;)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/methods/configureclient-system-action-orleans-hosting-iclientbuilder-28ef4c61/)
- [ConfigureClientHost(Action&lt;IHostApplicationBuilder&gt;)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/methods/configureclienthost-system-action-microsoft-extensions-hosting-ihostapplicationb-e0fe1855/)
- [ConfigureHost(Action&lt;IHostApplicationBuilder&gt;)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/methods/configurehost-system-action-microsoft-extensions-hosting-ihostapplicationbuilder-cfd8d16a/)
- [ConfigureSilo(Action&lt;InProcessTestSiloSpecificOptions, ISiloBuilder&gt;)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/methods/configuresilo-system-action-orleans-testinghost-inprocesstestsilospecificoptions-d9aeb95a/)
- [ConfigureSiloHost(Action&lt;InProcessTestSiloSpecificOptions, IHostApplicationBuilder&gt;)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/methods/configuresilohost-system-action-orleans-testinghost-inprocesstestsilospecificopt-784b39c3/)
- [CreateClusterId](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestclusterbuilder/methods/createclusterid-b1f22c54/)
