private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(SliderServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ISliderService)); }
public SliderServiceClient(EndpointConfiguration endpointConfiguration) : base(SliderServiceClient.GetBindingForEndpoint(endpointConfiguration), SliderServiceClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }