Esempio n. 1
0
        private string GetServiceUrl(OperationDescriptor operation)
        {
            var pathPattern = _configuration.GetServicePathPattern();
            var host        = _configuration.GetServiceHost();
            var port        = _configuration.GetServicePort();

            var path = _pathManager.GetServicePath(operation.Service.Name, operation.Name, pathPattern);

            return($"http://{host}:{port}{path}");
        }