webHttpBinding configuration of wcf service (Server configuration )

Thursday 22 January 2015

webHttpBinding configuration of wcf service (Server configuration )

Service Configuration :
    <bindings>
  <webHttpBinding>
        <binding name="binding name" maxBufferSize="2147483647"
          maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
          <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" />
        </binding>
      </webHttpBinding>
    </bindings>

 <services>
      <service name="binding name">
        <endpoint address="" behaviorConfiguration="FDataUploadAspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="FDataUpload.customBinding0" contract="binding name"/>
      </service>
</services>