Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A SignalR Message Bus implemented using Windows Server App Fabric
JavaScript C#
branch: master

Altered to use a modified version of davidfowl's NewID fork rather th…

…an my monstrosity of an IID Generator. (Modified so that webgardens will work - replaces first 4 bytes of the byte[] netaddress with the current threadid which should be unique for both clusters (back end of netaddress) and webgardens (thread id))
Failed to load latest commit information.
AppFabricBinaries Initial Commit for Github
SignalR.AppFabric
newid @ cf8c962
.gitignore
.gitmodules
README.md

README.md

SignalR.AppFabric

A SignalR Message Bus implemented using Windows Server App Fabric.

This Message Bus is largely based on the SignalR.Redis code.

Usage:

  1. Setup an AppFabric cache for SignalR. You must configure the cache to allow notifications (More info here: http://msdn.microsoft.com/en-us/library/ee808091(v=azure.10).aspx )
  2. Instantiate a DataCache using DataCacheFactory. You can either do this with webconfig setup and the default constructor, or, you can create a DataCacheFactoryconfiguration object.
  3. In your Application_Start() call: SignalR.GlobalHost.DependencyResolver.UseAppFabric

Notes: don't forget to alter the notification poll time of your Cache object. Default is 300seconds, which is way too long for most uses. We are using signalr for near realtime stuff, so we need to poll the cache multiple times every second. I instantiate the cache in code rather than using web.config as we have our DataCacheNotificationProperties polling time to 100ms, the web.config xml key is specified in (int)seconds.

Something went wrong with that request. Please try again.