Aspire.Hosting.Orleans
Official
📦 Aspire.Hosting.Orleansv17.0.0Import path
apphost/modules/aspire17Functions
2Types
2 types, 17 functions and 0 members
Handles
Functions
DistributedApplicationBuilder
OrleansService
method
AsClientReturns a model of the clients of an Orleans service.
AsClient() OrleansServiceClientmethod
WithBroadcastChannelAdds a broadcast channel provider to the Orleans service.
WithBroadcastChannel(name string) OrleansServicemethod
WithClusterIdSets the ClusterId of the Orleans service.
WithClusterId(clusterId string) OrleansServicemethod
WithClusteringConfigures the Orleans service to use the provided clustering provider.
WithClustering(provider ResourceWithConnectionString) OrleansServicemethod
WithDevelopmentClusteringConfigures the Orleans service to use development-only clustering.
WithDevelopmentClustering() OrleansServicemethod
WithGrainDirectoryAdds a grain directory provider to the Orleans service.
WithGrainDirectory(name string, provider ResourceWithConnectionString) OrleansServicemethod
WithGrainStorageAdds a grain storage provider to the Orleans service.
WithGrainStorage(name string, provider ResourceWithConnectionString) OrleansServicemethod
WithMemoryGrainStorageAdds an in-memory grain storage to the Orleans service.
WithMemoryGrainStorage(name string) OrleansServicemethod
WithMemoryRemindersConfigures in-memory reminder storage for the Orleans service.
WithMemoryReminders() OrleansServicemethod
WithMemoryStreamingAdds an in-memory stream provider to the Orleans service.
WithMemoryStreaming(name string) OrleansServicemethod
WithRemindersConfigures reminder storage for the Orleans service.
WithReminders(provider ResourceWithConnectionString) OrleansServicemethod
WithServiceIdSets the ServiceId of the Orleans service.
WithServiceId(serviceId string) OrleansServicemethod
WithStreamingAdds a stream provider to the Orleans service.
WithStreaming(name string, provider ResourceWithConnectionString) OrleansServiceResourceWithConnectionString
ResourceWithEnvironment
method
WithOrleansClientReferencebuilderAdds an Orleans client to the resource.
WithOrleansClientReference(orleansServiceClient OrleansServiceClient) ResourceWithEnvironmentmethod
WithOrleansReferencebuilderAdds Orleans to the resource.
WithOrleansReference(orleansService OrleansService) ResourceWithEnvironment