WCF maxReceivedMessagesize and readerquotas

What is the fundamental difference between the two? On the server side of the service, I use readerQuotas to host large strings (Int32.MaxValue). What is the value of maxReceivedMessagesize?

+1
source share
1 answer

maxReceivedMessagesize is the total size of the message.

readerQuotas is the size of the parts of the message, for example, the length of the line in the message.

You need both to be set high enough for your message to go through, often the defaults will be fine.

+3
source

Source: https://habr.com/ru/post/1570835/


All Articles