Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithClustering

Method
📦 Aspire.Hosting.Orleans v17.0.0
func (OrleansService) WithClustering(provider ResourceWithConnectionString) OrleansService

Signature

methodWithClustering
Configures the Orleans service to use the provided clustering provider.
WithClustering(provider ResourceWithConnectionString) OrleansService
providerResourceWithConnectionStringThe provider.
OrleansService

The Orleans service builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: