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 contracts in wcf?
What is "know types" in wcf?
What is the windows communication foundation?
What is proxy and how to generate proxy for wcf services?
Describe the various endpoints in wcf?
How many types of transport schemas are there in wcf?
List out the difference between XMLSerializer and the DataContractSerializer?
What are dead letter queues?
What message exchange patterns (meps) supported by wcf? Explain each of them briefly.
What are the endpoints in wcf? Or explain abcs of endpoint?
What is datacontractserializer and how its different from xmlserializer?
How to do authentication in wcf?
List the principle constituents of wcf?
Why to use wcf? Or what are the advantages of using wcf?
What are the different wcf binding available?