Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
4.33/5 (2 votes)
See more:
hey

we use facebook ..and when any user comment or like then we see notifications who comment our status and like ..same as this i want to do

suppose there is hr admin and he only view hr documents when he approve/reject hr documents then notification sent to user that your document is approve/reject

how i will do this?

any suggestions?
Posted
Comments
MCY 28-Oct-13 14:05pm    
if you try to head in push notifications direction, https://github.com/SignalR/SignalR might help.

 
Share this answer
 
Comments
ridoy 28-Oct-13 16:50pm    
5ed!
Ümit POLAT 28-Oct-13 16:57pm    
Use SignalR
niralirshah 18-Nov-13 6:47am    
Hello.. i have implemented SignalR 1.0.0-rc1 in asp.net 4.0 and C# successfully. but to enhance features , the no of notifications and details will be same for all users, but when user1 read notification at that time the count of notification is decreases in his browser, but the problem is that user2(who had not read his notification) also found count-1 with signalR. i have using Clients.All.addMessage(message, Detail); and Clients.Caller.addMessage(message, Detail); but not succeeded.. please help and give some idea.. thanks a lot in advance


Requirement for the notifications
Case 1 : Broadcast to all users who are connected to the server when new features added or updated in the project, newly added feature is accessible to all users.(broadcast working fine when no of notification count same to all users, but when user1 has count = 4 and user2 has count = 6 and at a moment updates comes then notification count = 7 at both users browser. so this is wrong...)

Case 2 : i am providing notification details according to the number of notification count.
so if user1 read say 1st updates then notification count will be count-1 for user1. But User2 can see the total number of notification count.(i am done with this)

Case 3 : there is also some modules which are not accessible to all users. so when some task assign to particular user then task updates (in form of notification count) visible to that users, not all users. (for this i am using clients.caller)

Thank you very much in advance.



thatraja 19-Nov-13 5:26am    
Include more details in your question
thatraja gives an excellent link to start up.I would just add some similar resoruces to it:
Implementing notification feature like facebook in asp.net site[^]
How to Make Notifications like Facebook[^]
Instant notifications like Facebook[^]
 
Share this answer
 
Comments
Member 12444231 19-Apr-16 4:11am    
how can i insert data into two database in from single submit button in asp.net

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900