WCF maxReceivedMessageSize not being read from config
I have a the following server side app.config for a WCF service: <system.serviceModel> <bindings> <wsHttpBinding> <binding name="default" maxReceivedMessageSize="5000000"> <readerQuotas maxStringContentLength="5000000" maxArrayLength="5000000" /> </binding> </wsHttpBinding> </bindings> <services> <service behaviorConfiguration="Core.TOAService.Service1Behavior" name="Core.TOAService.TOAService"> <endpoint address="" binding="wsHttpBinding" contract="Core.TOAService.ITOAService"> <identity> <dns value="localhost" /> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding"