mehrandvd
mehrandvd

Reputation: 9116

Can not create ClusterClient using ClientBuilder on Orleans 7.0

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

Answers (1)

dvan123
dvan123

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

Related Questions