title: Configuring the timeout for a WCF RIA Services call from a Silverlight 3 client
body: <p>I'm using the <a href="http://msdn.microsoft.com/en-us/library/ee707344(VS.91).aspx" rel="nofollow noreferrer">WCF RIA Services Beta</a> with Silverlight 3.0 and I want to be able to configure the timeout from the client. I know that the underlying technology is WCF and the default timeout seems to be 60 seconds as I would expect.</p>
  
  <p>Is there an easy way to control this and other WCF settings? </p>
  
  <p>My first thought is to try the <a href="http://msdn.microsoft.com/en-us/library/system.windows.ria.domaincontext_members(VS.91).aspx" rel="nofollow noreferrer">DomainContext</a> <strong>OnCreated</strong> hook point which was mentioned in the <strong>RIA Services Overview</strong> pdf file that was available prior to RIA Services going beta. The MSDN documentation for the <a href="http://msdn.microsoft.com/en-us/library/system.windows.ria.domaincontext_members(VS.91).aspx" rel="nofollow noreferrer">DomainContext</a> object no longer mentions the method although it is still there? I'm not sure if this is a case of the documentation lagging behind or an indication that I shouldn't use this extensibility point.</p>
  
  <pre><code>namespace Example.UI.Web.Services
  {
      public sealed partial class CustomDomainContext
      {
          partial void OnCreated()
          {
              // Try and get hold of the WCF config from here
          }
      }
  }
  </code></pre>