Beispiel #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(MyAppProjectClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IMyAppProject));
 }
Beispiel #2
0
 public MyAppProjectClient(EndpointConfiguration endpointConfiguration) :
     base(MyAppProjectClient.GetBindingForEndpoint(endpointConfiguration), MyAppProjectClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }