
Explanation/Reference:
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.
References: https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-enable- streaming