WCF configuration file: why do we need clientBaseAddress in Binding section?

Posted by Captain Comic on Stack Overflow See other posts from Stack Overflow or by Captain Comic
Published on 2010-05-31T13:38:34Z Indexed on 2010/05/31 13:42 UTC
Read the original article Hit count: 517

Filed under:
|

Hi,

There are three sections in WCF configuration for service client: Look at bindings => clientBaseAddress

Why do we need to specify callback address? Is this field required? Why .NET is unable to determine the address of client? Does it mean that i can specify callback service that is located on some other machine?

<configuration>
  <system.serviceModel>
    <client>
      <endpoint address=
    </client>
    <bindings>
      <wsDualHttpBinding>
        <binding name=
                 clientBaseAddress=
                 maxBufferPoolSize="2147483647"
                 maxReceivedMessageSize="2147483647"
        </binding>
      </wsDualHttpBinding>
    </bindings>
    <behaviors>
      <endpointBehaviors>
        <behavior name=>
        </behavior>
      </endpointBehaviors>
    </behaviors>
  </system.serviceModel>

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wcf