klone
klone

Reputation: 2075

Streamed output from a WCF service

I am trying to get streamed output from a WCF service.

I have set the transferMode to "StreamedResponse". When client receives the stream from server, it is unable to read the stream. While debugging from server side I can see that the stream has data, but from client side stream.Length throws a NotSupportedException. Reading the stream into a buffer results in 0 bytes read.

I generated the client proxy using svcutil, and am using .NET 3.0. Has anyone experienced a similar problem?

Upvotes: 0

Views: 1325

Answers (1)

alex
alex

Reputation: 75945

It is hard to help without any details, but note that VS2005 Cassini server (asp.net development server) doesn't support streaming over http.

Upvotes: 1

Related Questions