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