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