Skip to content
Docs Try Aspire

OrleansServiceExtensions

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