Skip to content
DocsTry Aspire
DocsTry

Aspire.Hosting.Orleans

Official
📦 Aspire.Hosting.Orleansv13.4.0
16Functions
2Types

Types

Functions

methodaddOrleans
Adds an Orleans service to the application.
addOrleans(name: string): OrleansService
methodasClient
Returns a model of the clients of an Orleans service.
asClient(): OrleansServiceClient
methodwithBroadcastChannel
Adds a broadcast channel provider to the Orleans service.
withBroadcastChannel(name: string): OrleansService
methodwithClusterId
Sets the ClusterId of the Orleans service.
withClusterId(clusterId: string): OrleansService
methodwithClustering
Configures the Orleans service to use the provided clustering provider.
withClustering(provider: IResourceWithConnectionString): OrleansService
methodwithDevelopmentClustering
Configures the Orleans service to use development-only clustering.
withDevelopmentClustering(): OrleansService
methodwithGrainDirectory
Adds a grain directory provider to the Orleans service.
withGrainDirectory(name: string, provider: IResourceWithConnectionString): OrleansService
methodwithGrainStorage
Adds a grain storage provider to the Orleans service.
withGrainStorage(name: string, provider: IResourceWithConnectionString): OrleansService
methodwithMemoryGrainStorage
Adds an in-memory grain storage to the Orleans service.
withMemoryGrainStorage(name: string): OrleansService
methodwithMemoryReminders
Configures in-memory reminder storage for the Orleans service.
withMemoryReminders(): OrleansService
methodwithMemoryStreaming
Adds an in-memory stream provider to the Orleans service.
withMemoryStreaming(name: string): OrleansService
methodwithOrleansClientReferencebuilder
Adds an Orleans client to the resource.
withOrleansClientReference(orleansServiceClient: OrleansServiceClient): IResourceWithEnvironment
methodwithOrleansReferencebuilder
Adds Orleans to the resource.
withOrleansReference(orleansService: OrleansService): IResourceWithEnvironment
methodwithReminders
Configures reminder storage for the Orleans service.
withReminders(provider: IResourceWithConnectionString): OrleansService
methodwithServiceId
Sets the ServiceId of the Orleans service.
withServiceId(serviceId: string): OrleansService
methodwithStreaming
Adds a stream provider to the Orleans service.
withStreaming(name: string, provider: IResourceWithConnectionString): OrleansService