I have a silverlight app (non asp) and wcf service.
When i read large data from the wcf service 60k+ then the silverlight app successfully retrieves the information from the wcf service. However.... When i try to send (silverlight client to wcf service) large data 30k+ I get the XmlDictionaryReaderQuotas error but when I send 2k information then everything works fine.
This is my ServiceReferences.ClientConfig file
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IService1" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:1320/Service1.svc"
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IService1"
contract="ServiceReference1.IService1"
name="LargeBuffer" />
</client>
</system.serviceModel>
And this is my wcf service app.config file....
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="LargeBuffer" closeTimeout="00:01:00"
openTimeout="00:01:00"
receiveTimeout="00:10:00"
sendTimeout="00:01:00"
transferMode="Buffered"
maxReceivedMessageSize="73400320" >
<!--70MB-->
<readerQuotas maxArrayLength="73400320" />
</binding>
</basicHttpBinding>
</bindings>
<services />
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>