ancdev
ancdev

Reputation: 207

HTML 5 real time data

Looking for a solution to draw an html table reflecting some server side data but somehow in real time. Some might suggest using a timer refreshing the table asynchronously, however this is not the solution in mind. In other words, what is needed is some sort of a push notification from the server each time a record is inserted into the table, to be reflected on screen. My web application is built using ASP.net MVC 4.

Upvotes: 2

Views: 626

Answers (2)

7zark7
7zark7

Reputation: 10135

Also consider Server Sent Events (SSE), if you don't need bi-directional data back and forth from client to server.

Upvotes: 2

Ashish Gupte
Ashish Gupte

Reputation: 48

HTML 5 Websockets are best for such things.

http://en.wikipedia.org/wiki/WebSocket

Upvotes: 1

Related Questions