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