PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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.

One Comment on “What should you do?


Leave a Reply