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

can you explain how to define a service as rest based service in wcf? : Wcf data services

0 Answers  


What are different bindings supported by wcf?

0 Answers  


How can we create proxy for the wcf service?

0 Answers  


In WCF what are duplex contracts?

0 Answers  


Explain wcf?

0 Answers  






what are the different instance modes in WCF?

0 Answers  


Which are the different isolation levels in wcf?

0 Answers  


Difference between wcf and web services?

0 Answers  


Explain how does WCF works?

0 Answers  


What MEPs is supported by WCF?

0 Answers  


What is DataContract in WCF?

0 Answers   Petranics Solutions,


What is binding and how many types of bindings are there in wcf?

0 Answers  


Categories