Questions tagged [signalr-hub]

Hubs provide a higher level RPC framework over a PersistentConnection. If you have different types of messages that you want to send between server and client then hubs is recommended so you don't have to do your own dispatching.

For a complete specification check out the SignalR Hubs Wiki page.

1597 questions
0
votes
2 answers

SignalR - Defining QueryStrings from two different places in application?

I have a single hub using In-Memory association between users and connections. This hub has two instances of ConnectionMapping - one for Chat connections, one for Navbar connections. The goal is: When a user is on any page other than Chat, they…
SB2055
  • 12,272
  • 32
  • 97
  • 202
0
votes
1 answer

WebAPI SignalR Negotiate response different on different browsers

The main problem about Access-Control-Allow-Origin I think. But when I configure the Web API project as defined in the given documentation, it still not working in chrome and firefox but working in IE well (it is about IE thinks localhost is not…
Yusuf Uzun
  • 1,491
  • 1
  • 13
  • 32
0
votes
1 answer

signalr .net client connection error

I am facing a bit of an issue with signalr client connectivity. I am using longpolling transport to create a connection between my server and a .net based client. After a while(some six, seven hours) the connection dies and the client throws an…
aliirz
  • 1,008
  • 2
  • 13
  • 25
0
votes
1 answer

SignalR C# server and ASP.NET client

I need that the client will send a message to the server and that the server will push a message to the client. I'm trying to do a small example before I'll add it to the web app that I'm working on. I read some tutorials that I found and saw some…
user2958571
  • 133
  • 1
  • 6
  • 13
0
votes
1 answer

signalr this.hub.getAll Uncaught TypeError: Object # has no method 'getAll'
I am learning SignalR (using this tutorial) and have the code from my class. The problem is that when executing the following this.init = function () { this.hub.getAll(); } I got Uncaught TypeError: Object # has no method 'getAll'. When examine…
Shawn
  • 5,130
  • 13
  • 66
  • 109
0
votes
0 answers

How to call signalr client method from different server

I have javascript client code: