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