# OrleansSiloGenericHostExtensions.UseOrleans(IHostApplicationBuilder)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Hosting/OrleansSiloGenericHostExtensions.cs)

```csharp
public static IHostApplicationBuilder UseOrleans(this IHostApplicationBuilder hostAppBuilder)
```

Configures the host app builder to host an Orleans silo.

### Parameters

- `hostAppBuilder` (`IHostApplicationBuilder`): The host app builder.

### Returns

The host builder.
