Knowledge Center

Here is a collection of my blog posts and articles.

How social media is killing your dreams

Social media is one of the greatest inventions of the 21st century. Facebook allows you to keep in touch with your friends, regardless where on the globe they live. If you have in-demand professional skills, LinkedIn allows you to move up the career ladder with only a fraction of the effort you would have required […]

How social media is killing your dreams Read More »

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 »

Sending messages to individual SignalR clients or groups of clients

SignalR hub can broadcast a message to all connected clients. But this is far from being the only way you can use SignalR. The hub allows you to send messages to individual clients. You can also group clients together and send messages to specific groups of clients. And this is what we will talk about

Sending messages to individual SignalR clients or groups of clients 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 »

SignalR vs gRPC on ASP.NET Core – which one to choose

My book, SignalR on .NET 6 – the complete guide, is out now! Also available in print. A while ago, when ASP.NET Core didn’t even exist, Microsoft has created a library for .NET Framework-based ASP.NET that enabled a two-way communication between the clients and a server in real time. This library was called SignalR. The

SignalR vs gRPC on ASP.NET Core – which one to choose Read More »