Figuring out the required MaxReceivedMessageSize in WCF with NetTcpBinding
Posted
by Flo
on Stack Overflow
See other posts from Stack Overflow
or by Flo
Published on 2010-03-23T15:38:01Z
Indexed on
2010/03/23
15:53 UTC
Read the original article
Hit count: 606
I'm using NetTcpBinding in WCF and i want to send a Stream which does not exceed the size of 1 MB. I have set the MaxReceivedMessageSize to a really high number and that works fine of course.
But I am curious:
Does setting the MaxReceivedMessageSize to a very hight number have any (negative) impact or would it be useful to set it just above the size I actually want to send/receive?
What kind of overhead can I expect when using the NetTcpBinding to transfer a stream? Meaning: when I send a stream of 1 MB, how large does my MaxReceivedMessageSize has to be?
© Stack Overflow or respective owner