What should you do?

You have an existing Windows Communication Foundation (WCF) Web service. The Web service is not responding to messages larger than 64 KB.
You need to ensure that the Web service can accept messages larger than 64 KB without generating errors. What should you do?

You have an existing Windows Communication Foundation (WCF) Web service. The Web service is not responding to messages larger than 64 KB.
You need to ensure that the Web service can accept messages larger than 64 KB without generating errors. What should you do?

A.
Increase the value of maxReceivedMessageSize on the endpoint binding.

B.
Increase the value of maxRequestLength on the httpRuntime element.

C.
Increase the value of maxBufferSize on the endpoint binding.

D.
Increase the value of maxBufferPoolSize on the endpoint binding.

Explanation:
WSHttpBindingBase.MaxReceivedMessageSize Property
Gets or sets the maximum size for a message that can be processed by the binding.

Type: System.Int64
The maximum size, in bytes, for a message that is processed by the binding. The default value is 65,536 bytes.



Leave a Reply 1

Your email address will not be published. Required fields are marked *