WCF:Do we have to change the maxReceivedMessageSize
parameter to use streaming?



WCF:Do we have to change the maxReceivedMessageSize parameter to use streaming?..

Answer / 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

More WCF Interview Questions

Explain the wcf ria?

0 Answers  


What is wcf api?

0 Answers  


What is the one-way mode in wcf?

0 Answers  


Explain fault contracts?

0 Answers  


Why is there a requirement of wcf for the enhancement of various business services?

0 Answers  






What are the various address format in WCF?

0 Answers  


What is the use of sessionmode?

0 Answers  


What is "know types" in wcf?

0 Answers  


What are the duplex contracts in wcf?

0 Answers  


What is datacontractserializer in wcf?

0 Answers  


What is service and client in perspective of data communication?

0 Answers  


What is fault contracts in wcf?

0 Answers  


Categories