signalr

Real-Time ASP .NET Core

websocket-manager library for real-time ASP .NET Core

Radu Matei

12 minute read

What is this? This is an ASP .NET Core middleware for providing real-time functionality to your applications. To its core, this is a WebSockets middleware for ASP .NET Core applications with TypeScript / JavaScript and .NET clients. This is an open-source library available (for using and contributing) on GitHub. Why wouldn’t I use SignalR for real-time? Well, the reason is quite simple: SignalR for ASP .NET Core is still in its very incipient stages.

Radu Matei

17 minute read

UPDATE - February 2017 This article describes the latest development of websocket-manager and how to use it in your application. While the general aspects provided in this article about creating a websockets middleware for Asp .Net Core are still valid, the specific information about the websocket-manager project have changed, since I updated a lot of parts. The version of the project described in this article can still be found in the blog-article branch on GitHub.

Radu Matei

8 minute read

Introduction In this article we will take a look at how to integrate ASP.NET Core MVC with SignalR Core (at the moment of writing this article, the latest version of SignalR is 0.2.0-alpha1-22107) and how to use the SignalR context outside hubs (and solve the current issues with the custom resolvers that will be detailed later) to update clients. This article assumes a basic understanding of ASP.NET Core MVC and will not try to explain all concepts here.

Radu Matei

5 minute read

Introduction ASP.NET SignalR is a library for ASP.NET developers that simplifies the process of adding real-time web functionality to applications. Real-time web functionality is the ability to have server code push content to connected clients instantly as it becomes available, rather than having the server wait for a client to request new data. The 1.0.0 version of ASP.NET Core didn’t include a version of SignalR, so the team plans to release SignalR in the 1.