Click here to Skip to main content
15,066,156 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.
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?
   
I have not worked actually. Have you started or not yet started?
Member 12139499 20-Mar-16 12:03pm
   
no sir. I have but i seem not to understand the whole thing. Im sorry, but i dont have the basic knowledge on signalR
   
Then start by exploring through videos either from Youtube or Microsoft Virtual Academy. That will really help. Because we easily memorize things we see than read. Don't worry, be patient and start.

Here is the search from MVA - SignalR.

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