Skip to content
Docs Try Aspire
Docs Try

Aspire.Hosting.Orleans

Official
📦 Aspire.Hosting.Orleans v13.4.0
16 Functions
2 Types

Types

Functions

method addOrleans
Adds an Orleans service to the application.
addOrleans(name: string): OrleansService
method asClient
Returns a model of the clients of an Orleans service.
asClient(): OrleansServiceClient
method withBroadcastChannel
Adds a broadcast channel provider to the Orleans service.
withBroadcastChannel(name: string): OrleansService
method withClusterId
Sets the ClusterId of the Orleans service.
withClusterId(clusterId: string): OrleansService
method withClustering
Configures the Orleans service to use the provided clustering provider.
withClustering(provider: IResourceWithConnectionString): OrleansService
method withDevelopmentClustering
Configures the Orleans service to use development-only clustering.
withDevelopmentClustering(): OrleansService
method withGrainDirectory
Adds a grain directory provider to the Orleans service.
withGrainDirectory(name: string, provider: IResourceWithConnectionString): OrleansService
method withGrainStorage
Adds a grain storage provider to the Orleans service.
withGrainStorage(name: string, provider: IResourceWithConnectionString): OrleansService
method withMemoryGrainStorage
Adds an in-memory grain storage to the Orleans service.
withMemoryGrainStorage(name: string): OrleansService
method withMemoryReminders
Configures in-memory reminder storage for the Orleans service.
withMemoryReminders(): OrleansService
method withMemoryStreaming
Adds an in-memory stream provider to the Orleans service.
withMemoryStreaming(name: string): OrleansService
method withOrleansClientReference builder
Adds an Orleans client to the resource.
withOrleansClientReference(orleansServiceClient: OrleansServiceClient): IResourceWithEnvironment
method withOrleansReference builder
Adds Orleans to the resource.
withOrleansReference(orleansService: OrleansService): IResourceWithEnvironment
method withReminders
Configures reminder storage for the Orleans service.
withReminders(provider: IResourceWithConnectionString): OrleansService
method withServiceId
Sets the ServiceId of the Orleans service.
withServiceId(serviceId: string): OrleansService
method withStreaming
Adds a stream provider to the Orleans service.
withStreaming(name: string, provider: IResourceWithConnectionString): OrleansService