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