Click here to Skip to main content
15,883,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Hello Guys, Please i have a forum app and I want it to be like the notification system in every other normal app like the one in codeproject. If a user reads a message , it should indicate in the databse as read. And anyother message that comes in should indicate as unread.

Please Guys how do i get to achieve this??


What I have tried:

Hello Guys, Please i have a forum app and I want it to be like the notification system in every other normal app like the one in codeproject. If a user reads a message , it should indicate in the databse as read. And anyother message that comes in should indicate as unread.

Please Guys how do i get to achieve this??
Posted
Updated 12-Mar-16 4:39am
Comments
F-ES Sitecore 12-Mar-16 9:57am    
It depends on how you've implemented your forum. Google "asp.net notification system" for some examples that should get you in the right direction.

1 solution

You can use SignalR. Check the doc I created which contains resources to read and implement - Real Time Notification using SignalR - Docs.com[^].

Read/Unread is just a matter of having a boolean field on your table and updating when user opens the message on UI.
 
Share this answer
 
Comments
Member 12139499 13-Mar-16 7:14am    
thank u bro..lemme try it out
Cool. :) Accept if you like the answer.
Member 12139499 15-Mar-16 10:56am    
honestly bro, i dont really understand the signalR stuff.. the all thing confuses me the more
What exactly is confusing?
Member 12139499 17-Mar-16 9:06am    
I have about 3 models that i need the notification system.
Should I Implement same SignalR Process for the 3 models?

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