I used Service Reference to create a WCF client class (much like the svcutil.exe tool). It generated this section in the app.config automatically:

<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_WMON_ISqlCeDBController" closeTimeout="00:01:00"
openTimeout="00:05:00" receiveTimeout="00:05:00" sendTimeout="00:05:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="20000000" maxBufferPoolSize="20000000" maxReceivedMessageSize="20000000"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="20000000"
maxArrayLength="20000000" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:8731/WMON/Database/WMON_SqlCeDBWcfService"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_WMON_ISqlCeDBController"
contract="WMON_SqlCeWcfClient.WMON_ISqlCeDBController" name="BasicHttpBinding_WMON_ISqlCeDBController" />
</client>
</system.serviceModel>


I have a GUI program with a settings tab to allow the user to change the WCF server IP. But I dont' know how to change it in the app.config.

PLEASE HELP. I'm stuck.

I posted this topic sometime ago in MSDN and never got proper answer. and MSDN search capabilities are terrible.