Skip to content
Docs Try Aspire

Aspire.Hosting.Orleans

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

Types

Functions

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