TheWommies
TheWommies

Reputation: 5072

WCF vs IHttpHandler

Is there something in WCF that can simulate http streaming like IHttpHandler can do?

I want a way to constantly write bytes to my http response non stop to my client until there is nothing left to write using WCF and was just wondering if this is possible?

Thanks

Upvotes: 0

Views: 154

Answers (1)

Ramiro Berrelleza
Ramiro Berrelleza

Reputation: 2405

WCF allows streaming by setting the TransferMode property of the binding to 'Streamed', 'StreamedRequest' or 'StreamedResponse', depending on your needs.

Check the following MSDN articles for more information on it:

Upvotes: 1

Related Questions