Created
November 26, 2017 12:43
-
-
Save thiagoloureiro/bf8719bbddd9f7624ff07d35ec3e4346 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void DiscoverService() | |
{ | |
var instance = Cluster.FindServiceInstanceAsync("customers").Result; | |
Console.WriteLine($"{instance.Address} {instance.Port}"); | |
Console.ReadLine(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment