Categories
ASP.NET Core MSBuild

Compile SCSS At Build Time Visual Studio

Firstly, there are extensions that can compile scss at build time… but every extension installed is another barrier to new team members coming onboard and getting up to speed on a project. I believe the development environment should have as little dependencies as possible (including extensions). That said this approach does rely on Node.JS to […]

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 […]