# SiloBuilderExtensions.ConfigureServices(ISiloBuilder, Action&lt;IServiceCollection&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.silobuilderextensions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.silobuilderextensions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Hosting/SiloBuilderExtensions.cs#L21-L23)

```csharp
public static ISiloBuilder ConfigureServices(this ISiloBuilder builder, Action<IServiceCollection> configureDelegate)
```

Adds services to the container. This can be called multiple times and the results will be additive.

### Parameters

- `builder` (`ISiloBuilder`): The [ISiloBuilder](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.isilobuilder/) to configure.
- `configureDelegate` (`Action<IServiceCollection>`)

### Returns

The same instance of the [ISiloBuilder](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.isilobuilder/) for chaining.
