public static string BuildEndpointUri(this NamedService service, string endpointName, EndpointScheme scheme = EndpointScheme.HTTP) { return(BuildEndpointUri(service, endpointName, HttpServiceUriTarget.Any, null, scheme.ToString())); }
public static string BuildEndpointUri(this NamedService service, string endpointName, HttpServiceUriTarget target, long partitionKey, EndpointScheme scheme = EndpointScheme.HTTP) { return(BuildEndpointUri(service, endpointName, target, new ServicePartitionKey(partitionKey), scheme.ToString())); }