public SampleServiceClient() : base(SampleServiceClient.GetDefaultBinding(), SampleServiceClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }