Client code settings vs. service.config file settings RRS feed

  • Question

  • Some settings can be set on either the client in code or the service side in the service.config file. Some that come to mind are the clientIdleTimeout, sessionIdleTimeout, and serviceOperationTimeout settings.

    If these settings are set in both the client code and the service.config file, does one or the other take precedence?

    For example, what if we have set BrokerSettings.ClientIdleTimeout = 2073600000 on the client, and


      <monitor ... clientIdleTimeout="300000" ... />


    in the service.config file?



    Wednesday, May 18, 2011 10:30 PM


  • Hi Derek,

    Client code settings will override the service config settings.

    • Marked as answer by Derek Kivi Thursday, May 19, 2011 3:06 PM
    Thursday, May 19, 2011 2:19 AM