Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

streamed WCF service uploads whole stream before returning error

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 06-06-2007   #1 (permalink)
msnews.microsoft.com
Guest


 

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
 
Update your Vista Drivers Update Your Drivers Now!!

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
C00D10B5 error when playing streamed video in WMP Jacob Havkrog Vista music pictures video 0 05-31-2008 02:07 PM



Vistax64.com 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 2005-2008