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