Skip to content
Docs Try Aspire

OrleansServiceExtensions

Class static net10.0
📦 Aspire.Hosting.Orleans v13.1.2
Extensions to Hosting.IDistributedApplicationBuilder related to Orleans.
namespace Aspire.Hosting;
public static class OrleansServiceExtensions
{
// ...
}
AddOrleans(IDistributedApplicationBuilder, string)extension
Adds an Orleans service to the application.
AsClient(OrleansService)extension
Returns a model of the clients of an Orleans service.
WithBroadcastChannel(OrleansService, string, IProviderConfiguration)extension
Adds a broadcast channel provider to the Orleans service.
WithBroadcastChannel(OrleansService, string)extension
Adds a broadcast channel provider to the Orleans service.
WithClusterId(OrleansService, string)extension
Sets the ClusterId of the Orleans service.
WithClusterId(OrleansService, IResourceBuilder<ParameterResource>)extension
Sets the ClusterId of the Orleans service.
WithClustering(OrleansService, IResourceBuilder<IResourceWithConnectionString>)extension
Configures the Orleans service to use the provided clustering provider.
WithClustering(OrleansService, IProviderConfiguration)extension
Configures the Orleans service to use the provided clustering provider.
WithDevelopmentClustering(OrleansService)extension
Configures the Orleans service to use development-only clustering.
WithGrainDirectory(OrleansService, IResourceBuilder<IResourceWithConnectionString>)extension
Adds a grain directory provider to the Orleans service.
WithGrainDirectory(OrleansService, string, IResourceBuilder<IResourceWithConnectionString>)extension
Adds a grain directory provider to the Orleans service.
WithGrainDirectory(OrleansService, string, IProviderConfiguration)extension
Adds a grain directory provider to the Orleans service.
WithGrainStorage(OrleansService, IResourceBuilder<IResourceWithConnectionString>)extension
Adds a grain storage provider to the Orleans service.
WithGrainStorage(OrleansService, string, IResourceBuilder<IResourceWithConnectionString>)extension
Adds a grain storage provider to the Orleans service.
WithGrainStorage(OrleansService, string, IProviderConfiguration)extension
Adds a grain storage provider to the Orleans service.
WithMemoryGrainStorage(OrleansService, string)extension
Adds an in-memory grain storage to the Orleans service.
WithMemoryReminders(OrleansService)extension
Configures in-memory reminder storage for the Orleans service.
WithMemoryStreaming(OrleansService, string)extension
Adds an in-memory stream provider to the Orleans service.
WithReference(IResourceBuilder<T>, OrleansService)extension
IResourceBuilder<T>
Adds Orleans to the resource.
WithReminders(OrleansService, IResourceBuilder<IResourceWithConnectionString>)extension
Configures reminder storage for the Orleans service.
WithReminders(OrleansService, IProviderConfiguration)extension
Configures reminder storage for the Orleans service.
WithServiceId(OrleansService, string)extension
Sets the ServiceId of the Orleans service.
WithServiceId(OrleansService, IResourceBuilder<ParameterResource>)extension
Sets the ServiceId of the Orleans service.
WithStreaming(OrleansService, IResourceBuilder<IResourceWithConnectionString>)extension
Adds a stream provider to the Orleans service.
WithStreaming(OrleansService, string, IResourceBuilder<IResourceWithConnectionString>)extension
Adds a stream provider to the Orleans service.
WithStreaming(OrleansService, string, IProviderConfiguration)extension
Adds a stream provider to the Orleans service.
View all methods