WCF:Do we have to change the maxReceivedMessageSize
parameter to use streaming?
Answer Posted / arunajyothi
The default value of MaxReceiveMessage property is 64kb. If
the size of transported stream object exceeds the setting
value of MaxReceiveMessage, It will throw a
CommunicationException during the client invokes the
operation of service to handle this stream object.
If the setting value is outside the range, the program can
not be compiled successfully. Set its value in
programmatically
binding.MaxReceivedMessageSize = 120000;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the different modes of security in WCF?
What is "service contracts" in wcf?
What is the address formats of the wcf transport schemas?
What is the address format in wcf?
How to configure reliability while communicating with wcf services?
What are the types of contract available in wcf?
What are the different platforms where we can host wcf service ?
How does a wcf function?
Which are the different isolation levels in wcf?
What is abc in wcf?
How to perform Transaction query in WCF?
What is transfer security?
What is datacontractserializer in wcf?
Explain about contracts?
Why is there a requirement of wcf for the enhancement of various business services?