Categories
ASP.NET Core

Background Tasks with ASP.NET Core 3.1

In the past, running a background task used to mean writing code to spin up a new thread. Then the Task Parallel Library came along with the async & await keywords making it easier to run tasks in the background. In ASP.NET Core 3.1 there is a new feature which makes starting services with websites […]

Categories
ASP.NET Core

SignalR Server Broadcasting with ASP.NET Core 3.1

I recently had the challenge of working out how to accomplish SignalR server broadcasting to push real time data for a dashboard. The .NET Core 3.1 docs don’t explain this clearly. The example code below and break down of the principles at play in this article will help get you started with streaming updates from […]