Dynamically send WCF endpoint in Asp.net


  var Binding = new BasicHttpBinding();
                        Binding.Security.Mode = BasicHttpSecurityMode.None;
                        string url= @"WCF URL";
                        var endpoint = new EndpointAddress(url);
                        MailDropService.ServiceClient Client = new MailDropService.ServiceClient(Binding,endpoint);

Comments