Hot Area:

HOTSPOT
You are creating a streamed Windows Communication Foundation (WCF) service.
You implement the following service methods.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

HOTSPOT
You are creating a streamed Windows Communication Foundation (WCF) service.
You implement the following service methods.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Answer:

Explanation:
To enable streaming, define the OperationContract appropriately and enable streaming at the transport level.
To stream data, the OperationContract for the service must satisfy two requirements:
The parameter that holds the data to be streamed must be the only parameter in the method. For example,
if the input message is the one to be streamed, the operation must have exactly one input parameter.
Similarly, if the output message is to be streamed, the operation must have either exactly one output
parameter or a return value.
At least one of the types of the parameter and return value must be either Stream, Message, or
IXmlSerializable.
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-enable-streaming



Leave a Reply 3

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


Rick

Rick

No Yes No Yes

Rick

Rick

sorry it should be NYNN

Jesley Cáceres Marcelino

Jesley Cáceres Marcelino

I Agree