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