Re: Progress bar for web service?



Done!
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331980

Thanks for your interest.
Brad.

On Fri, 07 Mar 2008 00:59:28 GMT, stcheng@xxxxxxxxxxxxxxxxxxxx
("Steven Cheng") wrote:

Thanks for the reply Brad,

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:

http://connect.microsoft.com/feedback/default.aspx?SiteID=210

Best regards,

Steven Cheng
Microsoft MSDN Online Support Lead

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

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
From: Bradley Plett <plettb@xxxxxxxxxxxxxxxx>
Subject: Re: Progress bar for web service?
Date: Thu, 06 Mar 2008 00:27:35 -0700

Sadly, that's the same conclusion I came to, but I keep hoping someone
else will figure out a good way to do this. Specifically, I was
hoping for exactly what you mention: some way of "monitoring the
underlying network transfer status". Oh, well, maybe in 4.0! :-)

Thanks anyway!
Brad.

On Thu, 06 Mar 2008 03:28:02 GMT, stcheng@xxxxxxxxxxxxxxxxxxxx
("Steven Cheng") wrote:

Hi Brad,

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?

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.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#noti
f
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: Bradley Plett <plettb@xxxxxxxxxxxxxxxx>
Subject: Progress bar for web service?
Date: Wed, 05 Mar 2008 12:12:16 -0700
Message-ID: <1hrts3tm5obuojvf3mcc0ef0tvgne9qbnq@xxxxxxx>


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

  • Re: Progress bar for web service?
    ... \par Microsoft MSDN Online Support Lead ... \par Subject: Re: Progress bar for web service? ... \par>using the streaming model, the only means to detect such transfer status is ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Infopath Browser Form - Webservice return value
    ... \par Steven Cheng ... \par Microsoft MSDN Online Support Lead ... \par Subject: RE: Infopath Browser Form - Webservice return value ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: Why couldnt I effectively refresh my aspx page in VS.NET when debugging? (clearing Javascript ca
    ... Steven Cheng ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: .NET 3.0
    ... Steven Cheng ... Microsoft MSDN Online Support Lead ... components, on windows/.NET platform, WCF should be the preferred one. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: WCF webservice support post upload with multipart
    ... Steven Cheng is on sick leave. ... \par>, some infos will be put in the content stream inside the boundary sections, ... \par suggestions about how we can improve the support we provide to you. ... \par nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.dotnet.framework.webservices)