# Aspire.Hosting.Orleans

- Module: `Aspire.Hosting.Orleans`
- Version: `13.4.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `16`
- Types: `2`

## Types

- [OrleansService](/reference/api/typescript/aspire.hosting.orleans/orleansservice.md) -- `handle` - 13 members -- Describes an Orleans service.
- [OrleansServiceClient](/reference/api/typescript/aspire.hosting.orleans/orleansserviceclient.md) -- `handle` - 0 members -- Represents an Orleans client configuration that can be referenced by application resources.

## Functions

- [addOrleans](/reference/api/typescript/aspire.hosting.orleans/addorleans.md) -- `method` -- Adds an Orleans service to the application.
- [asClient](/reference/api/typescript/aspire.hosting.orleans/asclient.md) -- `method` -- Returns a model of the clients of an Orleans service.
- [withBroadcastChannel](/reference/api/typescript/aspire.hosting.orleans/withbroadcastchannel.md) -- `method` -- Adds a broadcast channel provider to the Orleans service.
- [withClusterId](/reference/api/typescript/aspire.hosting.orleans/withclusterid.md) -- `method` -- Sets the ClusterId of the Orleans service.
- [withClustering](/reference/api/typescript/aspire.hosting.orleans/withclustering.md) -- `method` -- Configures the Orleans service to use the provided clustering provider.
- [withDevelopmentClustering](/reference/api/typescript/aspire.hosting.orleans/withdevelopmentclustering.md) -- `method` -- Configures the Orleans service to use development-only clustering.
- [withGrainDirectory](/reference/api/typescript/aspire.hosting.orleans/withgraindirectory.md) -- `method` -- Adds a grain directory provider to the Orleans service.
- [withGrainStorage](/reference/api/typescript/aspire.hosting.orleans/withgrainstorage.md) -- `method` -- Adds a grain storage provider to the Orleans service.
- [withMemoryGrainStorage](/reference/api/typescript/aspire.hosting.orleans/withmemorygrainstorage.md) -- `method` -- Adds an in-memory grain storage to the Orleans service.
- [withMemoryReminders](/reference/api/typescript/aspire.hosting.orleans/withmemoryreminders.md) -- `method` -- Configures in-memory reminder storage for the Orleans service.
- [withMemoryStreaming](/reference/api/typescript/aspire.hosting.orleans/withmemorystreaming.md) -- `method` -- Adds an in-memory stream provider to the Orleans service.
- [withOrleansClientReference](/reference/api/typescript/aspire.hosting.orleans/withorleansclientreference.md) -- `method` -- Adds an Orleans client to the resource.
- [withOrleansReference](/reference/api/typescript/aspire.hosting.orleans/withorleansreference.md) -- `method` -- Adds Orleans to the resource.
- [withReminders](/reference/api/typescript/aspire.hosting.orleans/withreminders.md) -- `method` -- Configures reminder storage for the Orleans service.
- [withServiceId](/reference/api/typescript/aspire.hosting.orleans/withserviceid.md) -- `method` -- Sets the ServiceId of the Orleans service.
- [withStreaming](/reference/api/typescript/aspire.hosting.orleans/withstreaming.md) -- `method` -- Adds a stream provider to the Orleans service.
