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