# StandaloneSiloHandle.CreateForAssembly(Assembly)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/StandaloneSiloHandle.cs#L174-L204)

```csharp
public static Func<string, IConfiguration, Task<SiloHandle>> CreateForAssembly(Assembly assembly)
```

Creates a delegate which spawns a silo in a new process, with the provided assembly (or its executable counterpart, if it is a library) being the entry point for that silo.

### Parameters

- `assembly` (`Assembly`): The entry point for spawned silos. If the provided assembly is a library (dll), then its executable sibling assembly will be invoked instead.
