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
17
votes
3 answers

SignalR "Error during negotiation request"

I have socket notification in my application which work great when I run locally, but when I deploy to my VM, it complains giving the following message. Error: Error during negotiation request. at Object.signalR._.error (jquery.signalR.js:178) …
TheJediCowboy
  • 8,924
  • 28
  • 136
  • 208
17
votes
1 answer

How does SignalR decide which transport method to be used?

SignalR is an abstraction over transports used for real-time connections. Still I'd like to know how exactly it decides which transport methods should be used, depending on various factors. I did some research using available documentation and…
thomaswr
  • 524
  • 1
  • 9
  • 19
16
votes
2 answers

SignalR version compatability (StatusCode: 405 'Method Not Allowed')

I'm having issues with a SignalR project I'm currently working on. I'm trying to build a server using .Net Core, and a client using traditional .Net (framework 4.6.1). However the server and client don't seem to be compatible. The last issue I've…
15
votes
1 answer

SignalR causing bad request 400 seen on the server

We are having an issue with signalR. We have an auction site that runs on signalr for real time bidding. We fixed some issues with the browser and everything seemed to be working well. Then we installed new relic on our server and noticed that every…
14
votes
3 answers

Ignore SSL errors with signalR Core Client

I'm making an application that involves a website on localhost as a user interface with Asp.net Core and SignalR Core. My problem is that I get an authentication exception when starting the connection. I know this happens because I haven't ran…
GoodOldJack12
  • 305
  • 1
  • 2
  • 8
14
votes
4 answers

SignalR - Send message OnConnected

I've been experimenting with SignalR today and It's really neat. Basically what I wanted to achieve is the following: As soon as a device connects it should send a message to the first one. If there are more devices than 1 connected I would like to…
Mittchel
  • 1,896
  • 3
  • 19
  • 37
14
votes
1 answer

Cross-domain will not work with a SignalR PersistentConnection

NOTE: Someone else originally asked this question but deleted it before I could post my answer. Since this question covers many issues that developers face when trying to make SignalR work cross-domain, I decided to replicate it. Plus, I had already…
halter73
  • 15,059
  • 3
  • 49
  • 60
13
votes
2 answers

SignalR .NET Client connecting to Azure SignalR Service in a Blazor .NET Core 3 application

I'm trying to make a connection between my ASP.NET Core 3.0 Blazor (server-side) application and the Azure SignalR Service. I'll end up injecting my SignalR client (service) in to a few Blazor components so they'll update my UI/DOM in realtime. My…
Jason Shave
  • 2,462
  • 2
  • 29
  • 47
13
votes
3 answers

SignalR + Angular: how to add Bearer token to Http Headers

I made an asp.net core 2.0 SignalR Hub which uses Bearer Token for Authentication. Now I'm a bit lost on how to connect to it via the SignalR Angular 5 client. I actually can connect if I remove authorization from the Hub, so the connection is…
André Luiz
  • 6,642
  • 9
  • 55
  • 105
13
votes
2 answers

SignalR dispose of HubConnection

In a AspNet SignalR client is it the action to dispose of a HubConnection necessary? It seems to take some time, from what I have seen...
cangosta
  • 1,174
  • 2
  • 13
  • 27
13
votes
3 answers

How to use async/await with hub.On in SignalR client

I have a .Net Windows Service (client) that's communicating with a SignalR Hub (server). Most of the client methods will take time to complete. When receiving a call from the server, how do I (or do I need to) wrap the target method/hub.On to…
Greg Grater
  • 2,001
  • 5
  • 18
  • 24
13
votes
3 answers

Using SignalR client through a web proxy

I am using the SignalR .NET client library to create a console app/win service to connect to a signal R Hub using HTTPS on the web. Some of these clients may require a web proxy to access the internet. Where/How do I set the web proxy for the…
user1845354
  • 131
  • 1
  • 1
  • 4
12
votes
2 answers

SignalR integration in android studio

I use signalR lib in my project. but I was not able to compile libs of https://github.com/SignalR/java-client on my own - I found them in internet. But it seems like there are not full (WebsocketTransport is missing) When I compile…
Anton Kizema
  • 1,072
  • 3
  • 13
  • 27
12
votes
1 answer

SignalR & WebApi - colliding Newtonsoft.Json references

I have a windows client that connects to a SignalR 2.0 back-end, now I am trying to make it connect to a ASP.NET Web API 2.1 back-end as well. The library that I use to communicate with the web api relies on Newtonsoft.Json 6.0.0.0 but the…
MatiasK
  • 686
  • 1
  • 7
  • 20
11
votes
5 answers

HttpClientException when connecting to working hub from SignalR .NET Client

I have a working SignalR application that allows me to connect multiple JavaScript clients and exchange data. When I tried to connect with a .NET client I get the following error: An exception of type…
Darren
  • 4,408
  • 4
  • 39
  • 57
1
2
3
58 59