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