13

Broadcasting Real-Time Communication Using SignalR

In this chapter, you will be introduced to SignalR, a technology that enables a developer to create a service that can have multiple clients and broadcast messages to all of them or a subset of them live in real time. A canonical example is a group chat app. Other examples include notification systems and dashboards that need instantly up-to-date information like stock prices.

This chapter will cover the following topics:

  • Understanding SignalR
  • Building a live communication service using SignalR
  • Building a web client using the SignalR JavaScript library
  • Building a .NET console app client
  • Streaming data using SignalR

Understanding SignalR

The web is great for building general-purpose websites ...

Get Apps and Services with .NET 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.