简体   繁体   中英

how to trigger notifications in mvc after something is saved in the database?

how to trigger notifications in mvc after something is saved in the database? eg: if the Admin saves a new item in the database Employees are notified that there's a new item in stock.

您可以使用轮询来反映对数据库的任何更改,也可以使用推送通知来通知客户端

If you wish to generate some kind of notification or update to all your clients, then you should use SIGNALR As of what I've come accross, it is one of the best solution to generate notifications to all clients across your application whenever there is any change in the DB. Hope it satisfies your requirements

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM