Questions tagged [signalr]
ASP.NET SignalR is a library for ASP.NET developers that makes it simple to add real-time functionality to your web applications. That is, to have your server-side code push content to the connected clients as it happens, in real-time. There are two versions of SignaR: use the tag [asp.net] for SignalR for ASP.NET that is in maintenance mode and use the tag [asp.net-core-signalr] for ASP.NET Core SignalR for .NET Core that is the new standard library.
signalr
9,679
questions
0
votes
0
answers
9
views
Unity Application crashing on Android?
I've been working on an application in Unity. It works perfectly fine for iOS devices but once a build has been put onto an Android device it begins crashing after about a day of being on that device. ...
0
votes
0
answers
10
views
Using a different fallback URL in SignalR
I'm looking to implement SignalR through Azure API Management and the issue is that as of now Azure API Management doesn't support different types of APIs for the same suffix, meaning that I can't set ...
0
votes
0
answers
10
views
Is signalR-2.3.0 is Content Security Policy (CSP) compatible or not?
I'm using signalR 2.3.0 version for project.
I've added this lines of code in web.config
<httpProtocol>
<customHeaders>
<add name="Content-Security-Policy" ...
0
votes
0
answers
29
views
Why does a SignalR connection not exist after starting the client?
I have a couple of clients that intermittently get the following exception:
Connection 'xxx' does not exist.
System.IO.IOException: Connection 'xxx' does not exist.
at Microsoft.AspNetCore.SignalR....
0
votes
0
answers
9
views
How to add Serilog logging to a SignalR client?
Currently my hub builder looks like this:
hub = new HubConnectionBuilder()
.WithUrl(Constants.HubsUrl + "/MainHub", options =>
{
options.Headers.Add(Constants.HeaderToken, ...
1
vote
0
answers
23
views
Blazor Web App default sample deployed to AWS fargate Counter page is not connecting to _blazor consistently
The basic blazor sample page included 3 pages. Home, Counter and Weather.
If I go to the counter the page, I am given the below response most of the time.
Description of error
[2024-07-16T18:04:33....
2
votes
1
answer
67
views
Signalr transports - impact on performance, capacity, etc
We are using signalr (.net 8) for some new functionality in our Asp.net core api, consumed primarily by a flutter app.
I implicitly know that, in most cases WebSockets is better that Server-sent-...
1
vote
1
answer
31
views
How many types of transport does SignalR use?
In the article from 2020 we have:
WebSocket
Server Sent Events
Forever Frame (for Internet Explorer only)
Ajax long polling
https://learn.microsoft.com/en-us/aspnet/signalr/overview/getting-started/...
1
vote
0
answers
36
views
SingalR not working on server IIS. works on local host
I have websockets enabled on my iis server. I am using singal R to update a progress bar during downloading. Works and local host but when published to server I get the following.
blazor.web.js:1 [...
0
votes
0
answers
86
views
Why would stop/starting IIS fix this Socket issue?
I have a Signalr web app that is using sockets to interact with a server application I can't control (nore have a source code / a protocol for). Each Signalr client sends a command to a Signalr Hub ...
1
vote
1
answer
71
views
Can not authenticate SignalR chat hub
I'm writing a real time chat app with ASP.NET Core 8 Web API, SignalR and Angular. I use new authentication system introduced in .NET 8 with token authentication.
I have implemented authentication ...
1
vote
0
answers
29
views
Can mitmproxy be used to block WebSockets from a SignalR Client when used as a proxy for them?
In order to test some networking conditions for a project, I need to block the use of websockets for a SignalR. The easiest way to do this seemed to be a proxy and mitmproxy seemed suitable.
After ...
0
votes
2
answers
41
views
How do I send parameters in a SignalR message and return a result using this parameters
I am wanting to use the ISingleClientProxy.InvokeAsync send a message SignalR client and wait for a response. I can make this work until very easily using the following:
Server sends:
return await ...
2
votes
2
answers
75
views
How to get connection TransportType in SignalR Client?
I have a Microsoft.AspNetCore.SignalR.Client based SignalR .NET Client.
Once a connection is established, I would like to determine what SignalR transport mechanism is being used for the connection ...
2
votes
1
answer
71
views
Is SignalR event listener correctly disposed after reload of page?
I have a page component where i add a SignalR HubConnection:
@page "/test"
@using System.Diagnostics
@using Microsoft.AspNetCore.SignalR.Client
@rendermode InteractiveServer
@implements ...