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