Knowledge Center

Here is a collection of my blog posts and articles.

How to scale out a SignalR back-end by using Redis

You can run a single monolithic instance of a server application only if the number of clients accessing your application doesn’t exceed a couple of thousand. But what if you expect hundreds of thousands, or even millions, of clients to connect to your application simultaneously? Then a single instance of an application won’t be able

How to scale out a SignalR back-end by using Redis Read More »

Securing your SignalR applications with OpenID Connect and OAuth

Securing your applications is very important, especially if they are accessible via a network that you don’t have control over, such as public internet. Without security, absolutely anyone can connect to your application, including someone who is up to no good. And this may result in a catastrophic failure that your business may not then

Securing your SignalR applications with OpenID Connect and OAuth Read More »

Advanced SignalR configuration: fine-tuning the server-side hub and all supported client types

We have already covered all the fundamental ways of using SignalR messages. We have learned how to set up clients of all supported types, how to send messages to specific clients and how to use data streams, both client-to-server and server-to-client. Now, we will be moving on to more advanced SignalR concepts. And in this

Advanced SignalR configuration: fine-tuning the server-side hub and all supported client types Read More »

Single Sign-on user authentication on Blazor WebAssembly SignalR client

SignalR is an inbuilt ASP.NET Core library that makes it easy to create interactive real-time applications. It enables fast two-way messaging between the client and the server. Under the hood, it uses some complex logic to enable all of this. But its external APIs hide all this complexity, so using SignalR in your code is

Single Sign-on user authentication on Blazor WebAssembly SignalR client Read More »

Applying SOLID principles to JavaScript – a step-by-step refactoring guide

Many design patterns were developed with SOLID principles in mind. Therefore it will be hard to learn design patterns unless you know SOLID principles. But SOLID principles aren’t merely a tool to help you learn design patterns. Every software developer who uses object-oriented programming languages needs to be familiar with SOLID principles and know how

Applying SOLID principles to JavaScript – a step-by-step refactoring guide Read More »