Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

  • MoHassan

    MoHassan

    Member

    467 Points

    151 Posts

    Re: Re: WCF Timeout settings for sl2

    Aug 24, 2009 10:06 AM | LINK

    Hi,

    You set them in your Web.Config file, it looks like below.

    <bindings>
        <!--
              Following is the expanded configuration section for a BasicHttpBinding.
              Each property is configured with the default value.
              See the TransportSecurity, and MessageSecurity samples in the
              Basic directory to learn how to configure these features.
              -->
        <basicHttpBinding>
          <binding name="Binding1"
                   hostNameComparisonMode="StrongWildcard"
                   receiveTimeout="00:10:00"
                   sendTimeout="00:10:00"
                   openTimeout="00:10:00"
                   closeTimeout="00:10:00"
                   maxReceivedMessageSize="65536"
                   maxBufferSize="65536"
                   maxBufferPoolSize="524288"
                   transferMode="Buffered"
                   messageEncoding="Text"
                   textEncoding="utf-8"
                   bypassProxyOnLocal="false"
                   useDefaultWebProxy="true" >
            <security mode="None" />
          </binding>
        </basicHttpBinding>
      </bindings>