Если у меня есть следующие:Настройка адреса конечной точки WCF во время выполнения?
WSHttpBinding binding = new WSHttpBinding();
EndpointAddress endpoint = new EndpointAddress(new Uri("http://xxx:pppp/MyService"));
MyServiceClient client = new MyServiceClient(binding, endpoint);
Как я могу установить конечную точку bindingConfiguration? Если это поможет моим app.config установлен на:
<endpoint address="http://xxx:pppp/Design_Time_Addresses/WcfServiceLibrary/ManagementService/"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IManagementService"
contract="ServiceReference.IManagementService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
Однако я ищу, чтобы позволить пользователю настроить этот перед запуском клиента.
Благодаря