Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RoleEnvironment.CurrentRoleInstance.InstanceEndpoints
- class Program
- {
- static void Main(string[] args)
- {
- FabricClient client = FabricClient.CreateFabricClient();
- foreach (string tenantName in client.GetServiceDeployments())
- {
- var information = client.GetServiceInformation(tenantName);
- foreach (var item in information)
- {
- Console.WriteLine(string.Format("{0} {1} {2} {3}", item.ContractName, item.InterfaceName, item.UrlSpecification, item.Vip));
- }
- }
- Console.ReadLine();
- }
- }
Add Comment
Please, Sign In to add comment