javascript - Methods to introduce notifications on a webpage without page refresh -


we have webpage there notification tab. notifications taken notification table if there particular user. event fired when page refreshed.

we want implement notification should displayed user instantly without refreshing page.

i know signalr sql dependency. sql dependency there comes database polling overhead.

you can have signalr notify clients of database changes without polling database.

have @ this tutorial signalr database notifications.\

it works following way: after update database, call method update clients along data.

hope helps. best of luck!


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -