Skip to content
Docs Try Aspire
Docs Try

Aspire.Hosting.Orleans

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

Types

Functions

method addOrleans
Adds an Orleans service configuration
addOrleans(name: string): OrleansService
method asClient
Creates an Orleans client view for the service
asClient(): OrleansServiceClient
method withBroadcastChannel
Adds an Orleans broadcast channel provider
withBroadcastChannel(name: string): OrleansService
method withClusterId
Sets the Orleans cluster ID
withClusterId(clusterId: string): OrleansService
method withClustering
Configures Orleans clustering using a resource connection
withClustering(provider: IResourceWithConnectionString): OrleansService
method withDevelopmentClustering
Configures Orleans development clustering
withDevelopmentClustering(): OrleansService
method withGrainDirectory
Adds an Orleans grain directory provider
withGrainDirectory(name: string, provider: IResourceWithConnectionString): OrleansService
method withGrainStorage
Adds an Orleans grain storage provider
withGrainStorage(name: string, provider: IResourceWithConnectionString): OrleansService
method withMemoryGrainStorage
Adds in-memory Orleans grain storage
withMemoryGrainStorage(name: string): OrleansService
method withMemoryReminders
Configures in-memory Orleans reminders
withMemoryReminders(): OrleansService
method withMemoryStreaming
Adds in-memory Orleans streaming
withMemoryStreaming(name: string): OrleansService
method withOrleansClientReference builder
Adds an Orleans client reference to a resource
withOrleansClientReference(orleansServiceClient: OrleansServiceClient): IResourceWithEnvironment
method withOrleansReference builder
Adds an Orleans silo reference to a resource
withOrleansReference(orleansService: OrleansService): IResourceWithEnvironment
method withReminders
Configures Orleans reminder storage
withReminders(provider: IResourceWithConnectionString): OrleansService
method withServiceId
Sets the Orleans service ID
withServiceId(serviceId: string): OrleansService
method withStreaming
Adds an Orleans stream provider
withStreaming(name: string, provider: IResourceWithConnectionString): OrleansService