How do you measure the progress of a web service call?

后端 未结 6 864
遇见更好的自我
遇见更好的自我 2020-12-20 18:46

I have an ASP.NET web service which does some heavy lifting, like say,some file operations, or generating Excel Sheets from a bunch of crystal reports. I don\'t want to be b

6条回答
  •  情深已故
    2020-12-20 19:44

    I think XML web service is slow, so creating multiple methods and polling the progress will be extremely slow and will generate huge load on the server. I wouldn't do it in production environment. I see the same (but smaller) problems with database polling.

    Try SOAP extensions instead. It implements an event-driven model. See Adding a Progress Bar to Your Web Service Client Application on MSDN.

提交回复
热议问题