private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(IdentityUserClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IIdentityUser)); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(IdentityUserClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IIdentityUser)); }
public IdentityUserClient(EndpointConfiguration endpointConfiguration) : base(IdentityUserClient.GetBindingForEndpoint(endpointConfiguration), IdentityUserClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public IdentityUserClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(IdentityUserClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public IdentityUserClient() : base(IdentityUserClient.GetDefaultBinding(), IdentityUserClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IIdentityUser.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }