Reputation: 9116
I was able to create a cluster client in Orleans v3.6.0. But now in v7.0 there is not a Build()
method in the ClientBuilder
class.
var client = new ClientBuilder()
.UseLocalhostClustering()
.Build(); // gives an error here.
I've checked the source code and there is no Build
method on theIClientBuilder
interface.
How should I create a ClusterClient in Orleans 7.0?
Upvotes: 4
Views: 899
Reputation: 93
You can use the HostBuilder.UseOrleansClient()
. It is also described in whats new in Orleans
in this link: whats new in Orleans
Upvotes: 5