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