Exemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return AuctionServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IAuctionService);
 }
Exemplo n.º 2
0
 public AuctionServiceClient(EndpointConfiguration endpointConfiguration) : 
         base(AuctionServiceClient.GetBindingForEndpoint(endpointConfiguration), AuctionServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }