Live status of webservice  
Author Message
mkamioner





PostPosted: ASMX Web Services and XML Serialization, Live status of webservice Top

Hi All

I have a webservice that uploads a file. Actually it uploads a FileStream and does its thing. It works great. However, I was wondering, sometimes, when I upload a large file, it takes time. Is there anyway to check the status of an upload and maybe even put it in to a progress bar for the user to see so he/she knows it's not just going on forever

Thanks in advance
Mike



.NET Development8  
 
 
tangfx





PostPosted: ASMX Web Services and XML Serialization, Live status of webservice Top

hi, I have written the program to upload large files same as you doing. My method is split file to upload in 5 threads.

if you don't want to use thread, you could simply use BackgroundWorker component in visual studio 2005 to implement a progress.

sample is offered for how to use BackgroundWorker in MSDN.