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
Which standard binding could be used for a service that was designed to replace an existing asmx web service?
What are the core components of wcf service?
Which specifications does wcf follow?
Define message contracts?
What is wcf used for?
what are the ways of hosting a WCF service?
What are the types of contract?
What is binding and how many types of bindings are there in wcf?
What are the essential components used in wcf?
What is REST and what is the problem with WCF REST and how it can be resolved?
What is the request-reply mode in wcf?
How to do authentication in wcf?
What is DataContract in WCF?
What is the advantage of WCF over Web Services(ASMX)?
What are the transport schemas does WCF supports?