# OrleansServiceClient

- Kind: `class`
- Package: [Aspire.Hosting.Orleans](/reference/api/csharp/aspire.hosting.orleans.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Orleans`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Orleans/OrleansServiceClient.cs)

Represents an Orleans client configuration that can be referenced by application resources.

## Definition

```csharp
namespace Aspire.Hosting.Orleans;

public sealed class OrleansServiceClient
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting.Orleans/OrleansServiceClient`

## Constructors

- [OrleansServiceClient(OrleansService)](/reference/api/csharp/aspire.hosting.orleans/orleansserviceclient/constructors.md#constructor-orleansservice) -- Represents an Orleans client configuration that can be referenced by application resources.

## Properties

- [Service](/reference/api/csharp/aspire.hosting.orleans/orleansserviceclient/properties.md#service) : [OrleansService](/reference/api/csharp/aspire.hosting.orleans/orleansservice.md) `get` -- Gets the Orleans service referenced by this client.
