Progress bar for web service?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bradley Plett

    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/WC..._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.
Working...