开发者

WCF maxReceivedMessagesize and readerquotas

开发者 https://www.devze.com 2022-12-24 07:56 出处:网络
What is the fundamental difference between the tw开发者_运维问答o? On the server side on the service, I am using readerQuotas to accomodate large string lengths (Int32.MaxValue). What is the significa

What is the fundamental difference between the tw开发者_运维问答o? On the server side on the service, I am using readerQuotas to accomodate large string lengths (Int32.MaxValue). What is the significance of maxReceivedMessagesize then?


maxReceivedMessagesize is the total size of the message.

readerQuotas are the size of parts of the message for example the length of a string in the message.

You need both of them so be set high enough for your message to go through, often the defaults will be OK.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号