WCF Rest upload file size issue
===

Initially, my upload was limited to 64KB.

I have gone through multiple suggestions on web and on this site, and made following changes

     <bindings>
      <webHttpBinding>
        <binding name="StreamedRequestWebBinding"
                 maxReceivedMessageSize="10485760"
    maxBufferPoolSize="10485760" maxBufferSize="10485760" closeTimeout="00:03:00"
    openTimeout="00:03:00" receiveTimeout="00:10:00" sendTimeout="00:03:00">
          <readerQuotas maxDepth="32" maxStringContentLength="10485760"
    maxArrayLength="10485760" maxBytesPerRead="10485760" />
          <security mode="None" />
        </binding>
      </webHttpBinding>
    </bindings>

    <endpoint address="" bindingConfiguration="StreamedRequestWebBinding" behaviorConfiguration="web" binding="webHttpBinding"
          contract="DatingService.IRegisterService1" />

After making above changes, I am able to upload max of 4MB, though I have given max allowed size to 10MB. We havent ported application to IIS yet, and testing from visual studio only. Where did I go wrong? Pl suggest