How to use SignalR for autorefresh like data

OlgaBunkleyq

New Member
I've been looking into using \[code\]SignalR\[/code\] for a while now, and I think I have a good candidate for it. I have a page which allows users of the system to leave \[code\]Comments\[/code\], and at the moment it uses \[code\]JQuery\[/code\] to periodically refresh the list of comments. I think \[code\]SignalR\[/code\] would replace this nicely, i.e. if there were two users looking at the list and one wrote a comment, I would like it to appear instantly in the second.All well and good, I have a sort of template where this works.HoweverMy system itself can sometimes add automatic notifications to the list - These are put into the database directly by a non-web based application.How can I get \[code\]SignalR\[/code\] to see the new information from the database and send it to the users?
 
Back
Top