c# - How to notify table-data change to a client program? -
suppose have application access data resident in central db server , more 1 user access data client machines networked db server.
suppose 2 client machines running copy of application , 2 users accessing same db table.
how can automatically refresh data on gui, being viewed 1 client, change made client in db table-data?
which technology should used solve particular scenario in .net?
wcf?
you looking notification push model. you'd have create seperate connections server each client. lots of hard work. wcf / sockets this. comet in web server environment.
much easier way poll server every 15 seconds or client , check if there has been update. store last updated timestamp on server , if greater timestamp have refresh.
Comments
Post a Comment