title: Another "The maximum string content length quota (8192) has been exceeded while reading XML data." issue with WCF and Silverlight 4
body: <p>I have no trouble retrieving a large amount of data, but sending it back to the service displays this error. I've tried adding the  element to both the web.config and servicereferences.clientconfig and it's not recognized in either. At one point I got a message about adding readerQuotas to bindingElementExtensions, but I can't find anything useful on how to do this. I found posts saying I had to modify the devenv.exe.config and such, but doing that hosed VS.</p>
  
  <h2>Edit</h2>
  
  <p>Here's the binding section of the web.config:</p>
  
  <pre><code>&lt;bindings&gt;
    &lt;customBinding&gt;
      &lt;binding name="QaRiM.Web.Service1.customBinding0"&gt;
        &lt;binaryMessageEncoding /&gt;
        &lt;httpTransport maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" /&gt;
      &lt;/binding&gt;
    &lt;/customBinding&gt;
  &lt;/bindings&gt;
  &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true"
    multipleSiteBindingsEnabled="true" /&gt;
  &lt;services&gt;
    &lt;service name="QaRiM.Web.Service1"&gt;
      &lt;endpoint address="" binding="customBinding" bindingConfiguration="QaRiM.Web.Service1.customBinding0"
        contract="QaRiM.Web.Service1" /&gt;
      &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  </code></pre>
  
  <p>and the servicereferences.clientconfig:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;customBinding&gt;
                  &lt;binding name="CustomBinding_Service1"&gt;
                      &lt;binaryMessageEncoding /&gt;
                      &lt;httpTransport maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" /&gt;
                  &lt;/binding&gt;
              &lt;/customBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="http://localhost:36533/Service1.svc" binding="customBinding"
                  bindingConfiguration="CustomBinding_Service1" contract="ServiceReference1.Service1"
                  name="CustomBinding_Service1" /&gt;
          &lt;/client&gt;
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Both were generated by VS.</p>