Tutorial :asp / asp mvc - how to trigger automatic client refresh


There are 3 clients that looks at same data instance, one of them edits data and submits on server, what are the mechanisms to make the other two clients instantly see the updated data ? I am thinking of some AJAX poll from time to time that will force page reload if there are changes or some page expire , is there anything else ?


You can make use of the jQuery ajax stack. This already is included when you make an ASP.NET MVC application in Visual Studio.


I advise you to use some push-notification sistem for do client side refresesh. So with push notification your client will update only if erver has update data.

You can use SignalR framework

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »