示例#1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(IdentityUserClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IIdentityUser));
 }
示例#2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(IdentityUserClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IIdentityUser));
 }
示例#3
0
 public IdentityUserClient(EndpointConfiguration endpointConfiguration) :
     base(IdentityUserClient.GetBindingForEndpoint(endpointConfiguration), IdentityUserClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
示例#4
0
 public IdentityUserClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(IdentityUserClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
示例#5
0
 public IdentityUserClient() :
     base(IdentityUserClient.GetDefaultBinding(), IdentityUserClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IIdentityUser.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }