public static async Task <IClusterClient> Connect()
        {
            IClientBuilder clientBuilder = new Orleans.ClientBuilder()
                                           .Configure <ClusterOptions>(options =>
            {
                options.ClusterId = "dev";
                options.ServiceId = "HelloWorldApp";
            })
                                           .UseAdoNetClustering(options =>
            {
                options.Invariant        = "System.Data.SqlClient";
                options.ConnectionString =
                    "Data Source=researchdb;Initial Catalog=OrleDb;Persist Security Info=True;User ID=sa;Password=OrleDBP@asswor1d";
            })
                                           .ConfigureLogging(builder => builder.SetMinimumLevel(LogLevel.Warning).AddConsole());

            IClusterClient client = clientBuilder.Build();
            await client.Connect(RetryFilter);

            return(client);
        }