I'm sending an array to a WCF service, and I'm getting a Protocol Error when the array exceeds about 2400 items. I'm trying to increase the size accepted by the service by modifying web.config file for the service, but not having any success. Here is relevant code from the web.config:
<system.web>
<httpRuntime maxRequestLength="2097151" />
<compilation debug="true" targetFramework="4.5"/>
<pages controlRenderingCompatibilityVersion="4.0"/>
</system.web>
<system.serviceModel>
<services>
<service name="prop84r4Service.ServiceProp84r4" behaviorConfiguration="ServiceBehavior">
<endpoint address="" binding="webHttpBinding" contract="prop84r4Service.IServiceProp84r4" behaviorConfiguration="web" bindingConfiguration="webHttpBindingDev">
</endpoint>
</service>
</services>
<bindings>
<webHttpBinding>
<binding name="webHttpBindingDev">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</webHttpBinding>
</bindings>
<behaviors>
Any ideas what I'm doing wrong or not doing?
Thanks