Around two years ago I published a post about SignalR. Recently some readers requested an updated post using SignalR 2.1, here is the updated one.
For this post I created a very simple chat application that hosted in IIS, developed in .NET 4.5. Below is the project structure.
SignalrTracer.ChatServer: An empty ASP.NET Web Application which host the SignalR hub.
SignalrTracer.Publisher: A class library project that has SignalR hubs. I created this project just to isolate SignalR hubs from the ChatServer.
SignalrTracer.ChatClient: Another empty ASP.Net Web Application act as the client.
SignalrTracer.Publisher
As I mentioned above, this project contains the SignalR hubs. We can add SignalR framework using Nuget package manager.
Open Package Manager Console from Tools->Nuget Pacakger Manager and choose SignalrTracer.Published as the Default Project in the console window, then enter
