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 Hi Brad,
\par
\par From your description, you have some large objects that will be transfered in WCF service, and you're wondering how to monitor the transfer progress of such storng-typed objects without using streaming based transfer model, correct?
\par
\par Based on my research, I'm afraid it is not quite supported to get the transfer status of such strong-type objects in WCF. This is because without using the streaming model, the only means to detect such transfer status is through monitoring the underlying network transfer status. However, this is not exposed(encapsulated internally) in WCF network stack, so far I haven't found any good interface to inject into it. Therefore, my suggestion is 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 \pard\li720 --------------------
\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: Error with Getting Started Sample from WCF
    ... IIS. ... Host a WCF Service in IIS ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.distributed_apps)
  • 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: 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)
  • Re: WCF Service and Collections
    ... Microsoft MSDN Online Support Lead ... Subject: WCF Service and Collections ... for specifying custom collection types in your own ...
    (microsoft.public.dotnet.framework.webservices)

Loading