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

13 minute read

Introduction In this article, we will take the simplest ASP.NET Core application, run it with Docker locally, then create Continuous Integration and Continuous Deployment flows using a GitHub repository, Docker Cloud and an Azure virtual machine that will act as a node for Docker Cloud. If you don’t want to create an ASP.NET Core application but are interested in the CI/CD workflow, or if you already have a GitHub repository with a complete application with a Dockerfile, you might want to skip to the part we start creating the CI/CD workflow.

Radu Matei

10 minute read

You can check the GitHub repository of this project for the full source code Introduction In this blog post, we will get started with the Raspberry Pi3, the Sense HAT and Azure IoT Suite. More specifically, from the IoT Suite we will use IoT Hub, and Stream Analytics, which we will detail a little later. The end goal of this little project is to acquire data from the sensors, upload the data to IoT Hub, which feeds it into Stream Analytics, with outputs to an Azure SQL database (for storage) and to Service Bus (for consuming the data in real-time from various applications).

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.