Esempio n. 1
0
 public void Configure(IConfiguration configuration, IClientBuilder clientBuilder)
 {
     clientBuilder
     .UseConsulClientClustering(gatewayOptions =>
     {
         var address = new Uri(ConsulTestUtils.ConsulConnectionString);
         gatewayOptions.ConfigureConsulClient(address);
     });
 }