Questions tagged [signalr.client]

Async signaling library for .NET applications, as well as WindowsPhone applications, to help build real-time, multi-user interactive web applications.

Async signaling library for .NET applications, as well as WindowsPhone applications, to help build real-time, multi-user interactive web applications.

SignalR.Client lets you communicate with clients on your website, Windows Console Applications, WPF Applications, and WindowsPhones applications in real time through the best continuous connections available between browser, application and server (websockets between Chrome and IIS8, but long polling between IE9 and IIS7.5)

The source is available on GitHub. and documentation here

879 questions
8
votes
1 answer

Does SignalR provide message integrity mechanisms which ensure that no messages are lost during client reconnect

Abstract Hi, I was pondering whether it is possible to loose a message with SignalR. Suppose client disconnects but eventually reconnects in a short amount of time, for example 3 seconds. Will the client get all of the messages that were sent to him…
Lu4
  • 14,873
  • 15
  • 79
  • 132
8
votes
1 answer

How do I use custom basic authentication with SignalR (.NET client)?

There's lots of info on how to do Forms authentication or Windows authentication with SignalR. I am interested in using my own authentication DB. I use a .NET client because the connecting agent is a service, not a web browser with a human behind…
Robin
  • 698
  • 6
  • 25
8
votes
1 answer

Is SignalR Payload agnostic?

Does SignalR support payloads other than those containing JSON or Text like BSON, etc.
sgtz
  • 8,849
  • 9
  • 51
  • 91
7
votes
1 answer

Can SignalR queue up messages when client is disconnected and resend them to client when client connects back?

We currently use SignalR to receive realtime messages from our backend on our UI Client. The UI client receives messages while it is online and connected to SignalR and misses the messages while it was disconnected (example: user closed the page and…
7
votes
1 answer

SignalR - Client connection closes straight after starting - InvalidOperationException: Sequence contains no elements

I have a a SignalR client which seems to close straight after starting, the error message i get is: "The server closed the connection with the following error: Connection closed with an error. InvalidOperationException: Sequence contains no…
user1786107
  • 2,921
  • 5
  • 24
  • 35
7
votes
1 answer

SignalR client server connected but not pushing data to client on production server

I have developed a web app using SignalR and its working perfectly on my development server. But for some unknown reasons its not working on production server. I have done some tests: $.connection.hub.start().done(function () { …
Waleed
  • 1,097
  • 18
  • 45
7
votes
1 answer

Watching SignalR request and response in browser

I am using SignalR for inform users in realtime.But there is problem.I want to find why there is problem.But in browser when i clik f12 and chose network tab there is no request and response altough SignalR works well here is my chrome console.When…
user1688401
  • 1,851
  • 8
  • 47
  • 83
7
votes
1 answer

Communication between asp.net app and a serviceworker, via signalR?

I'm new to serviceworkers and I wonder how could I connect my serviceworker to my asp.net application. My js client already is communicated with a service worker and it's able to show notifications. However, I've seen that some webs (e.g facebook)…
moarra
  • 565
  • 1
  • 7
  • 20
7
votes
1 answer

SignalR: no messaging until file uploaded/downloaded at the same web site

I have some problem when proceed downloading or uploading file (WebClient.DownloadFileAsync|UploadFileAsync or by HttpWebRequest) and simultaneously calling SignalR-hub methods: SignalR calls were stopped until file loading finished. It seems like…
Dmitry
  • 71
  • 2
7
votes
3 answers

SignalR .NET Client doesn't support WebSockets on Windows 7

I've written a small echo-server (.net 4.5), console client (.net 4.5) and web client using SignalR and example presented here. Server is hosted in IIS8/Win8. Then I ran both clients on Win7. and I see that web client in Chrome uses webSockets,…
Max Viazovskyi
  • 167
  • 2
  • 10
7
votes
2 answers

SignalR disconnect not being called on internet disconnection/re-connection

I am using SignalR in my app.I have an app which depends to a very great degree on OnDisconnected() being called correctly. And it is called correctly under the following circumstances: public Task OnDisconnected() { try { …
user1527989
  • 139
  • 4
  • 14
7
votes
2 answers

signalR interrupted while the page was loading error when navigating from a page

When navigating away from a page that has signalR connection/connected hub I get the following error message. The connection to…
ShaneKm
  • 20,823
  • 43
  • 167
  • 296
6
votes
1 answer

SignalR C# Client Hubconnection.On not fired

I have a ASPNet.Core WebApi, with signalR. I have angular app, that consumes the webAPI, and I want to replace it with a Blazor Webassembly app. I have a problem with signalR in the Blazor app. I create a hubconnection, set it up, and when the…
6
votes
1 answer

what is difference between microsoft.aspnetcore.signalr.client and microsoft.aspnetcore.signalr.client.core?

There are two nuget packages for SignalR client: Microsoft.AspNetCore.SignalR.Client and Microsoft.AspNetCore.SignalR.Client.Core. Both ASP.NET Core, but I can't find any information why they both exist. Probably Client.Core has limited…
Alexan
  • 8,165
  • 14
  • 74
  • 101
6
votes
1 answer

SignalR Core, not getting response from server when client is connected

I am working on a SignalR Clinet-Server connection. My server is WebApi Core 2.1 and my client is WPF .NET Framework 4.7.2. On the client side I have a singleton hub service with one Instance to recive messages from server: using…
michasaucer
  • 4,562
  • 9
  • 40
  • 91