광산 프로젝트 설치에 문제가 있습니다. 클라이언트 측 WindowsForms- 응용 프로그램, WCF-Webservice 및 데이터베이스 (SQLExpress atm)의 세 부분으로 구성됩니다.설치시 WCF-Webservice에 대한 올바른 ServiceReference 및 끝점 주소를 얻는 방법
현재 클라이언트와 웹 서비스 간의 연결에 필요한 끝점 주소와 서비스 참조는 WindowsForms-Project의 app.config에 하드 코드되어 웹 서비스가 실행되는 동일한 네트워크의 특정 컴퓨터를 참조합니다 이 같은 :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IWemosService" maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://ent-ga-04:8733/Design_Time_Addresses/WcfServiceWemos/WemosService/"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IWemosService"
contract="ServiceReferenceWemos.IWemosService" name="BasicHttpBinding_IWemosService" />
</client>
</system.serviceModel>
</configuration>
그러나, 다른 장치에 클라이언트와 Webservice를 설치 한 후, 나는 새로운 장치와의 연결에 맞게, 물론,이 값을 변경해야합니다. 나는 그걸하는 법을 모른다. 너 나 좀 도와 줄 수있어?