Reputation: 115
I have business logic in one application, let's call it "server". I want to "observe" what's going on in this application using a silverlight or WPF app.
So I've figured, I will use WCF services that expose current state to my clients, and I will poll for updates on a regular basis.
It's working well, but I need some kind of two way communication, because I need to notify my clients about changes.
Is there any other way than polling?
Upvotes: 1
Views: 748
Reputation: 3116
For Silverlight, there is a PollingDuplex mode, which still results in polling, but has a somewhat easier API to work with than dealing with the polling yourself.
See this article on MSDN : http://msdn.microsoft.com/en-us/library/cc645027(VS.95).aspx
For WPF, I believe there are more efficient ways to do this, but I'm not as familiar with the full WCF stack.
Upvotes: 2