Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - streamed WCF service uploads whole stream before returning error

 
 
Old 06-06-2007   #1 (permalink)
msnews.microsoft.com


 
 

streamed WCF service uploads whole stream before returning error

Hi!

I'm currently developing a file upload and -downloadservice based on wcf.
As the files transfered are very large (~300MB) i decided to use the
streamed transfer mode.

The communication actually works fine but i've run into a problem when an
error occurs during the upload (for example creating the server-side file
failed for some reason). The server immediately catches the error and
returns
an appropriate error message but the client has to wait until the whole
message (respectivley the whole file) was transfered to the server before it
receives the error response from the server.
This behaviour leads to significant delays and is not acceptable for our
product.

The service runs under Windows XP SP 2, i'm using the net.tcp transport
protocol and it's currently hosted in a console application for test
purposes.

Is there any way i can change this behaviour to stop the framework from
pulling out all of the data from the stream immediately when the server-side
method returns?

Thanks a lot in advance for any help!

Greetings

Markus Strobl



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
C00D10B5 error when playing streamed video in WMP Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46