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