Scaling out a SignalR hub with Azure SignalR Service
In the previous article, we had a look at how to scale a SignalR hub by using Redis backplane. But you can also scale your hubs by using Azure SignalR Service. And this is what we will have a look at in this article. Using Azure SignalR Service has some Continue Reading
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 Continue Reading
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 Continue Reading
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 Continue Reading
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 Continue Reading
Streaming in SignalR
Until this point, we have only covered the use of singular messages in SignalR. But SignalR also supports message streaming. Streaming is when, instead of sending all data at ones, you send it in chunks. Perhaps, it’s a large object that gets split into smaller parts. Or it could be Continue Reading
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 Continue Reading
In-browser SignalR clients
SignalR Hub is only useful if you have clients connected to it. And in this article, you will learn how to connect in-browser clients. We will start with in-browser clients because they are slightly easier to set up than external clients. For example, you won’t have to create external applications Continue Reading
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 Continue Reading
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 Continue Reading