How to set maxArrayLength in .Net service?
in client 开发者_运维百科i do it in app.config :
<basicHttpBinding ...
<binding ...
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="50000" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
I guess you mean change the reader quotas programatically: here
精彩评论