title: How to increase MaxReceivedMessageSize for azure worker role deployment?
body: <p>I have an azure worker role which is medium size and one instance. I encountered an error which says "<strong>The maximum message size quota for incoming messages (1048576) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.</strong>" when deploying my azure worker role cloud service to azure using visual studio.</p>
  
  <p>I tried to increase maxReceivedMessageSize property in app.config like this but it didn't work:</p>
  
  <pre><code>&lt;bindings&gt;
      &lt;basicHttpBinding&gt;
          &lt;binding name="basicHttp" allowCookies="true"
                   maxReceivedMessageSize="2147483648" 
                   maxBufferSize="2147483648"
                   maxBufferPoolSize="2147483648"&gt;
              &lt;readerQuotas maxDepth="32" 
                   maxArrayLength="2147483648"
                   maxStringContentLength="2147483648"/&gt;
          &lt;/binding&gt;
      &lt;/basicHttpBinding&gt;
  &lt;/bindings&gt;
  </code></pre>
  
  <p>Please help me to solve this problem.</p>
  
  <p>Thanks in advance.</p>