Progress notification for long running processes in WCF – how?
I must design and implement a method to deal with long-running processes in client / server applications A typical long running process may take 2-3 minutes I also need to report progress to the UI and keep the UI responsive during this period
I have these in my mind, although I have some solutions:
>An asynchronous request starts the process, starts the server-side process and returns the allocated lrpid (long running process ID), and then uses the lrpid to poll from the client regularly (professional: simple deployment, no firewall mess, con: indecent, resource consumption, etc.) > use duplex binding (such as NetTcpBinding) and start callback from the server during the process (Pro: elegant, efficient, con: deployment nightmare) > [your suggestion???]
What do you think of this?
Solution
This is Dan Wahlin's post on how to create WCF progress indicators for Silverlight applications This should help