# OrleansService Properties

- Package: [Aspire.Hosting.Orleans](/reference/api/csharp/aspire.hosting.orleans.md)
- Type: [OrleansService](/reference/api/csharp/aspire.hosting.orleans/orleansservice.md)
- Kind: `Properties`
- Members: `9`

Describes an Orleans service.

## BroadcastChannel

- Name: `BroadcastChannel`
- Modifiers: `get`
- Returns: `Dictionary<string, IProviderConfiguration>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs#L78)

Gets the broadcast channel providers.

```csharp
public Dictionary<string, IProviderConfiguration> BroadcastChannel { get; }
```

## Builder

- Name: `Builder`
- Modifiers: `get`
- Returns: `IDistributedApplicationBuilder`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs#L43)

Gets the distributed application builder.

```csharp
public IDistributedApplicationBuilder Builder { get; }
```

## Clustering

- Name: `Clustering`
- Modifiers: `nullable` `get; set`
- Returns: [IProviderConfiguration?](/reference/api/csharp/aspire.hosting.orleans/iproviderconfiguration.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs)

Gets or sets the clustering provider.

```csharp
public IProviderConfiguration? Clustering { get; set; }
```

## EnableDistributedTracing

- Name: `EnableDistributedTracing`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs)

Gets or sets a value indicating whether to enable tracing of grain calls.

```csharp
public bool? EnableDistributedTracing { get; set; }
```

## Remarks

Distributed tracing is enabled by default.

## GrainDirectory

- Name: `GrainDirectory`
- Modifiers: `get`
- Returns: `Dictionary<string, IProviderConfiguration>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs#L73)

Gets the grain directory providers.

```csharp
public Dictionary<string, IProviderConfiguration> GrainDirectory { get; }
```

## GrainStorage

- Name: `GrainStorage`
- Modifiers: `get`
- Returns: `Dictionary<string, IProviderConfiguration>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs#L68)

Gets the grain storage providers.

```csharp
public Dictionary<string, IProviderConfiguration> GrainStorage { get; }
```

## Name

- Name: `Name`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs#L38)

Gets the name of the service.

```csharp
public string Name { get; }
```

## Reminders

- Name: `Reminders`
- Modifiers: `nullable` `get; set`
- Returns: [IProviderConfiguration?](/reference/api/csharp/aspire.hosting.orleans/iproviderconfiguration.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs)

Gets or sets the reminder service provider.

```csharp
public IProviderConfiguration? Reminders { get; set; }
```

## Streaming

- Name: `Streaming`
- Modifiers: `get`
- Returns: `Dictionary<string, IProviderConfiguration>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansService.cs#L83)

Gets the stream providers.

```csharp
public Dictionary<string, IProviderConfiguration> Streaming { get; }
```
