Re: Progress bar for web service?



{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Thanks for the reply Brad,
\par
\par Yes, it's a pity that the current version can not smoothly handle such requirement. However, I agree that it would be a nice idea to add more flexible support on such features. Really recommend you submit this as feature request on our product feedback site:
\par
\par http://connect.microsoft.com/feedback/default.aspx?SiteID=210
\par
\par Best regards,
\par
\par Steven Cheng
\par Microsoft MSDN Online Support Lead
\par
\par Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par \pard\li720 --------------------
\par From: Bradley Plett <plettb@xxxxxxxxxxxxxxxx>
\par Subject: Re: Progress bar for web service?
\par Date: Thu, 06 Mar 2008 00:27:35 -0700
\par
\par Sadly, that's the same conclusion I came to, but I keep hoping someone
\par else will figure out a good way to do this. Specifically, I was
\par hoping for exactly what you mention: some way of "monitoring the
\par underlying network transfer status". Oh, well, maybe in 4.0! :-)
\par
\par Thanks anyway!
\par Brad.
\par
\par On Thu, 06 Mar 2008 03:28:02 GMT, stcheng@xxxxxxxxxxxxxxxxxxxx
\par ("Steven Cheng") wrote:
\par
\par >Hi Brad,
\par >
\par >From your description, you have some large objects that will be transfered
\par >in WCF service, and you're wondering how to monitor the transfer progress
\par >of such storng-typed objects without using streaming based transfer model,
\par >correct?
\par >
\par >Based on my research, I'm afraid it is not quite supported to get the
\par >transfer status of such strong-type objects in WCF. This is because without
\par >using the streaming model, the only means to detect such transfer status is
\par >through monitoring the underlying network transfer status. However, this is
\par >not exposed(encapsulated internally) in WCF network stack, so far I haven't
\par >found any good interface to inject into it. Therefore, my suggestion is
\par >that you should still consider the streamming + serialization approach.
\par >
\par >Sincerely,
\par >
\par >Steven Cheng
\par >
\par >Microsoft MSDN Online Support Lead
\par >
\par >
\par >
\par >==================================================
\par >
\par >Get notification to my posts through email? Please refer to
\par >http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
\par >ications.
\par >
\par >
\par >
\par >Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
\par >where an initial response from the community or a Microsoft Support
\par >Engineer within 1 business day is acceptable. Please note that each follow
\par >up response may take approximately 2 business days as the support
\par >professional working with you may need further investigation to reach the
\par >most efficient resolution. The offering is not appropriate for situations
\par >that require urgent, real-time or phone-based interactions or complex
\par >project analysis and dump analysis issues. Issues of this nature are best
\par >handled working with a dedicated Microsoft Support Engineer by contacting
\par >Microsoft Customer Support Services (CSS) at
\par >http://msdn.microsoft.com/subscriptions/support/default.aspx.
\par >
\par >==================================================
\par > \tab
\par >
\par >This posting is provided "AS IS" with no warranties, and confers no rights.
\par >
\par >--------------------
\par >From: Bradley Plett <plettb@xxxxxxxxxxxxxxxx>
\par >Subject: Progress bar for web service?
\par >Date: Wed, 05 Mar 2008 12:12:16 -0700
\par >Message-ID: <1hrts3tm5obuojvf3mcc0ef0tvgne9qbnq@xxxxxxx>
\par >
\par >
\par >I am aware that showing progress for file transfers is relatively easy
\par >with WCF since it can be done using a stream (see
\par >http://www.codeproject.com/KB/WCF/WCF_FileTransfer_Progress.aspx for a
\par >good example). However, I would like to show progress for a strongly
\par >typed object. Is there an easy way to do that? I realize I could do
\par >this using a stream as well, but I would need to handle the
\par >serialization/deserialization myself in this case.
\par >
\par >I would think there should be a way of hooking into events at a lower
\par >level than the object transfer, but I certainly don't have a clue how!
\par >
\par >As an example, I'd like to call the following method asynchronously
\par >and then provide status updates:
\par >
\par >[WebMethod()]
\par >public myBigObject MyCrazyMethod()
\par >
\par >Any help would be appreciated.
\par >
\par >Thanks!
\par >Brad.
\par \pard
\par
\par }

Relevant Pages

  • Re: Progress bar for web service?
    ... using the streaming model, the only means to detect such transfer status is ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... Progress bar for web service? ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Progress bar for web service?
    ... ("Steven Cheng") ... Microsoft MSDN Online Support Lead ... Progress bar for web service? ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: strange security role issue
    ... BTW, If you by any chance receive some feedback form about us, ... Microsoft MSDN Online Support Lead ... As for the authorization, here is the setting (from web.config in the ...
    (microsoft.public.vsnet.general)
  • RE: error: 1572894 the server connection timed out. 12030
    ... Have you got any progress on this issue or does the information in my last ... Microsoft MSDN Online Support Lead ... You can send feedback directly to my manager at: ... error when try restore a WSS 2.0 site, ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: error: 1572894 the server connection timed out. 12030
    ... Have you got any progress on this issue or does the information in my last ... We welcome your comments and suggestions about how we can improve the support we provide to you. ... Please feel free to let my manager know what you think of the level of service provided. ... Try to restore the backup and note that you will get an error when it attempts to restore the subsites. ...
    (microsoft.public.sharepoint.windowsservices)