# SiloRoleBasedPlacement

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core.Abstractions) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Placement/SiloRoleBasedPlacement.cs#L9)

```csharp
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[Orleans.SuppressReferenceTracking]
public class SiloRoleBasedPlacement : PlacementStrategy
```

The silo role placement strategy specifies that a grain should be placed on a compatible silo which has the role specified by the strategy's placement attribute.

## Constructors

- [SiloRoleBasedPlacement](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.silorolebasedplacement/constructors/constructor-69e6069f/)
