This article explains how to invoke JavaScript (JS) functions from .NET. For information on how to call .NET methods from JS, see Call .NET methods from JavaScript functions in ASP.NET Core Blazor.
This article explains how to configure and manage SignalR connections in Blazor apps. For general guidance on ASP.NET Core SignalR configuration, see the topics in the Overview of ASP.NET Core SignalR ...