Progress bar for web service?



I am aware that showing progress for file transfers is relatively easy
with WCF since it can be done using a stream (see
http://www.codeproject.com/KB/WCF/WCF_FileTransfer_Progress.aspx for a
good example). However, I would like to show progress for a strongly
typed object. Is there an easy way to do that? I realize I could do
this using a stream as well, but I would need to handle the
serialization/deserialization myself in this case.

I would think there should be a way of hooking into events at a lower
level than the object transfer, but I certainly don't have a clue how!

As an example, I'd like to call the following method asynchronously
and then provide status updates:

[WebMethod()]
public myBigObject MyCrazyMethod()

Any help would be appreciated.

Thanks!
Brad.
.



Relevant Pages

  • Wireless quirks - streaming video
    ... They stream flawlessly on my main machine, ... despite the inefficiencies of USB etc... ... Internal file transfers get around 200Kb. ... Things I can change include the RTS threshold, fragmentation threshold, ...
    (comp.os.linux.networking)
  • Re: SslStream weakness
    ... stream, however, it's important that you correctly close the SSL stream ... before the TCP stream, or else it would be relatively easy for an attacker ... FTP is one example of such a protocol. ...
    (microsoft.public.platformsdk.security)