Sunday, June 19, 2011

Streaming with WCF - Sidebar: What is really going on with my stream?

Streaming with WCF 
Sidebar - What is really going on with my stream?
This posting might not directly help you implement something, but it should give some insight as to what's going on under the hood with a stream sent to a client from a service.
Scenario
There's a WCF service with an operation which returns a Stream.
A WCF Client invokes this operation.
The Transfer Mode is Streamed.
So, here's what happens, diagram first: