Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am maintaining a student Portal constructed in 3 tier architecture.

This Student Portal has lot of sections including a dynamic noticeboard.

I want to implement some thing like notification whenever a new notice is posted to the noticeboard.

Please help me out , how can i do it

EDIT

I am using a datalist control as the notieboard. The datasource of the datalist is a table named "Student_Notice" in the database.


The notices are posted by the admin side and students in their respective account view the notice.

This notice is common for all the students.

What I need is when ever there is a new notice added i.e a new record inserted in the Student_Notice table by the admin ,Whenever the students log in , One should be intimated regarding the new notice being posted via a notification mechanism just like we have in this very Forum.

For e.g I have posted this question in the forum if some one replies to my question , I get a notification , that there is one reply to your question.

Hope it is clear now.
Posted
Updated 6-May-14 23:22pm
v2
Comments
Telstra 7-May-14 4:34am    
any efforts boss? please post here
Darshan.Pa 7-May-14 4:52am    
please give more details about the question
Kunal Ved 7-May-14 5:19am    
I am using a datalist control as the notieboard. The datasource of the datalist is a table named "Student_Notice" in the database.


The notices are posted by the admin side and students in their respective account view the notice.

This notice is common for all the students.

What I need is when ever there is a new notice added i.e a new record inserted in the Student_Notice table by the admin ,Whenever the students log in , One should be intimated regarding the new notice being posted via a notification mechanism just like we have in this very Forum.

For e.g I have posted this question in the forum if some one replies to my question , I get a notification , that there is one reply to your question.

Hope it is clear now.
Prasad Avunoori 7-May-14 5:51am    
1. Make a ajax call to the Database from the Datalist
2. Call that function for every secon.
Kunal Ved 7-May-14 5:59am    
How ??

I would appreciate, if you could provide any reference.

1 solution

Hi Kunal,

Please use ASP.NET SignalR[^] for your requirement.

About ASP.NET SignalR

Microsoft say "ASP.NET SignalR is a new library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization."

Thanks
 
Share this answer
 
v2

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