简体   繁体   中英

how to create our own notifications like facebook in our web application

Basically, am developing a web based project in .NET using C# so I need to create a profile for different set of users and also need to assign them different set of permissions for editing and viewing and retrieving the information from the Database. So, here for each particular Event that is going to happen(ie precisely writing some data into the Database) I want to give a notification to a particular set of users who can see it when they login. Here, my need is please suggest me how to create a basic profile for users as the number of users are limited to my application and also the core part of this question as in like how do I make notification bar similar to the Face-book(not exactly the replica of it just a simple one which aid me in serving a notification for that particular user profile).

Kindly, free feel and serve me with your valuable suggestions.

You can use SignalR for this. SignalR is an async library for .NET to create realtime webapplications.

Here you can find an example with a notification system:

SignalR - Group Notifications

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