Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 09, 2012 08:25 PM by atconway
Mar 09, 2012 05:57 AM|LINK
I have to design a application (client/server) where server will be sending the data to all the connected client(clients will be connected to server either by TCP/IP or Remoting). The problem here is server has to retrieve the data from the data base and
the data will be changing after every 5 seconds in the database. My questions here is ...
Mar 09, 2012 06:18 AM|LINK
the data will be changing after every 5 seconds in the database.
How is the data changing? Is the same data being modified/updated or is new data being added/deleted?
Mar 09, 2012 06:57 AM|LINK
data can be updated or added ...
Mar 09, 2012 07:28 AM|LINK
I don't entirely get your scenario , but I am wondering if you could benefit by implementing some sort of publisher - subscriber pattern. You can see one implementation here at
The article shows how to do it using duplex contracts, but you can achieve it using tcp/ip sockets too, among others. Have a look at
http://msdn.microsoft.com/en-us/library/ms978603.aspx to know about the publisher - subscriber pattern in general.
Hope this helps.
Mar 09, 2012 09:29 AM|LINK
make use of the Hub approach in
Mar 09, 2012 08:25 PM|LINK
If a .NET solution will suffice, then you could use a net.tcp WCF service to have Silverlight clients subscribe to updates being pushed. Have a look at the following for some full examples on doing this:
Pushing Data to a Silverlight Client with a WCF Duplex Service:
Building and Accessing Duplex Services:
I have seen this in action and it works well vs. brute force polling or something similar.