![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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 Specs![]() |
| 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 |