can you expose the progress of a web service to a client - WCF

I have a service that does image processing. The time that it takes for the process to complete is something like 2-3 minutes. Can I update the client with the progress of the service? can I somehow tell the client that process reached step3 or something like that?

I am using WCF

Answers


Sure you can. Use some asynchronous method of WCF to get image processing % value. I mean you have to create this method. And on the client side you have to call this method periodically.


You can look at the duplex bindings, which supports two way communication:

http://msdn.microsoft.com/en-us/library/ms731064.aspx

It works using a callback mechanism.


Need Your Help

Listview in nested linear layout not showing in runtime

android listview android-linearlayout

My "graphical design" has four rows of textviews and a listview below the textview, everything is nested in linear layouts.

Why does Integral constraint require fromIntegral on call to length?

haskell ghc

I've just started programming in Haskell, and I am solving 99 Haskell problems, and when I was nearly done with 10th, I've encountered this problem:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.