Category "signalr"

SignalR no longer works since upgrading to .NET Core 3.1

I have a websocket server application that I recently upgraded from .NET Core 2.1 to 3.1, however, since then the negotiation seems to fail. This is the error t

C# Webapplication: Why is session usercount (in global.Session_Start) different from hub usercount (in hub OnConnected)

I want to display the number of currently active users. I first realized that in global.Session_Start protected void Session_Start(object sender, EventArgs e) {

How to get notifications using signal r based on selected value on client browser

Here is the code of server side i.e of NotificationHub where i intend to add some logic by which i get realtime update from database based on client send value

How to handle connection reset in Python SignalR and reconnect again

I am using Python3, signalr, and WebSocket to connect to a server. When the connection is closed or reset by the server or the network layer, I receive the foll

how to Check Client connection status in Blazor web assembly

I have a Blazor webasemmbly app, it's using asp.net core as backend and Blazor wasm as frontend. I have a class that can check the HTTP issues like notfound, Ba

Can't establish wss connection [React + ASP.NET Core, SignalR + nginx]

I have React app that talks to Asp.Net core API. Both of them are deployed on Docker on my VM. Nginx is installed and configured to resolve domain names for app

Chat Realization with Singleton vs Separate SignalR Hub

I was just wondering why the recommended solution for a Blazor-Server-Chat by Microsoft is initializing a Signal R Hub. Technically, all the C# Code is executed

Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol' threw an exception

I am getting the following exception when running Xamarin Forms iOS app after upgrade to the latest Visual Studio Mac: {System.TypeInitializationException: The

How can i change only the changing value in flutter signalr?

I cannot setup the logic. I have three values. You know signalr only changing value comes. When i tried to change, every values change. Here is my code part=>

SignalR Java Client not working in Android 12

I implemented SignalR Java Client in my Android Project. It works well on Android Versions 6 to 11 but fails on Android 12, I'm getting this error only on Andro

Inject service to configure SignalR backplane

I am trying to use Azure Redis instance as the backplane for my dotnet core signalr application. I need to pull the configuration settings from a database. How

Azure function CORS configuration with SignalR Service not working

I'm trying to connect to SignalR Service Azure function from a react front end. In front const urlRoot = 'http://localhost:7071/api'; const connection = new

Signalr Core WithAutomaticReconnect passing headers

I have gone through Signalr Core documenations and while I understand the feature .WithAutomaticReconnect() What I am curious is does it pass the headers still

SignalR Core - Storing multiple subgroups in cache

I've started playing with SignalR and I don't have an idea how to deal with storing subgroups. Let me draw a picture of a problem that I'm facing. At first I wa

How to Run SignalR service as a Server in Xamarin

I have a requirement were I need to run SignalR server in Xamarin app, and consume it in web app. As far as I have seen in examples, Xamarin is used as a client

Signalr callbacks are run outside angular zone?

I have a strange problem with signalr and angular. We recently upgraded signalr to use the @microsoft/signalr package instead of the @aspnet/signalr one and we

How can I call all the signal R events without explicitly invoking them using hubconnection.On method

We have a API with SignalR implementation for chat, reminder and so on. I want to invoke all of methods on my client portal that's on angular without passing hu

Awaiting localhost to reload in ASP.NET Core

I have an ASP.NET Core server, which is using SignalR to generate HTML pages dynamically at runtime through JavaScript. After i shut my application down, in the

Xamarin app crashes with The type initializer for 'System.Text.Json.JsonSerializer' threw an exception after SignalR install

After adding SignalR client to my Xamarin Forms app, it started crashing shortly after launching. The error I get is: System.InvalidOperationException Message=E

How do I resolve Uncaught ReferenceError: signalR is not defined

@section scripts{ <script src="https://cdnjs.cloudflare.com/ajax/libs/microsoft-signalr/6.0.1/signalr.js"></script> } I added signalR CDN