Speedwell | BLOG - Author: E.Lao

How to use Signalr with Redis to create a simple chat application

Thumb Signalr

signalr

Before I get into the technical parts of this blog, I would like to give a brief summary about why I chose this topic.  In my work, we have a task tracking board similar to Trello where cards are frequently moved around to different groups.   The problem was that other users were not able to get the updates from other users.  So, we used Signalr to do update the board whenever changes were made.  All was well and good, until we created a public version of the site.   The board was still updating but only within the context of the site. For example, the changes made to the public site wasn’t updating the intranet site and vice versa.   This is when we decided to integrate Signalr with Redis.  Redis backplane acts like a middleman between the two sites and notifies all subscribed sites with any changes.

In this blog, I will demonstrate how to use Signalr with Redis to create a simple chat application.

Read More