Re: Progress bar for web service?
- From: Bradley Plett <plettb@xxxxxxxxxxxxxxxx>
- Date: Thu, 06 Mar 2008 22:11:28 -0700
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,without
From your description, you have some large objects that will be transferedin 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
using the streaming model, the only means to detect such transfer statusis
through monitoring the underlying network transfer status. However, thisis
not exposed(encapsulated internally) in WCF network stack, so far Ihaven't
found any good interface to inject into it. Therefore, my suggestion isf
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
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.
- References:
- Progress bar for web service?
- From: Bradley Plett
- RE: Progress bar for web service?
- From: "Steven Cheng"
- Re: Progress bar for web service?
- From: Bradley Plett
- Re: Progress bar for web service?
- From: "Steven Cheng"
- Progress bar for web service?
- Prev by Date: Re: Progress bar for web service?
- Next by Date: Re: How to return a user-defined data type object from a webservice?
- Previous by thread: Re: Progress bar for web service?
- Next by thread: WSE Multi-Threading?
- Index(es):
Relevant Pages
|