![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| C00D10B5 error when playing streamed video in WMP | Vista music pictures video | |||