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
1 answer

SignalR - notification order

I know this issue was raised many times, but I couldn't find a real answer, my clients are registered to groups and the server sends notifications on changes, do I need to use sequences so the client will re-order it? or can i trust on order…
li-raz
  • 1,678
  • 2
  • 29
  • 57
0
votes
1 answer

SignalR performance is not stable

I have been using SignalR in my mvc4 asp.net application in order to update Views and have real Time aspect without having to get back to database each time to check states. The code I integrated in my web api controller and views is working…
mahoosh
  • 553
  • 1
  • 7
  • 21
0
votes
1 answer

Is there a work around for using the System.Web HTTPContext SessionId in the SignalR 2.x release?

We're attempting to migrate from SignalR 1.x to SignalR 2.x and have run into some issues. The app has been using SignalR 1.x to do "real time" (push) communcations between the backend and frontend clients. In SignalR 1.x, we had access to the…
JohnB
  • 3,921
  • 8
  • 49
  • 99
0
votes
0 answers

SignalR Silverlight Client keeps "connected", when Hub is disconnected

I have implemented SignalR in my Silverlight 5 application and it's working fine as long as the client stays on-line. But as soon as the network connection drops for more than about 5 seconds, it stops functioning and I can't make it reconnect. When…
Ronald
  • 417
  • 5
  • 11
0
votes
1 answer

Wiring up Knockout with SignalR (Object doesn't support property or method)

I'm getting the following js error (on the line of code marked ###) when starting my app: JavaScript runtime error: Object doesn't support property or method 'messages' I've previously had this working without knockout, but am trying to add in…
Fetchez la vache
  • 4,940
  • 4
  • 36
  • 55
0
votes
2 answers

Binding SignalR, User ID Provider for SignalR 2.0 and knockout.js views together for realtime data updates

Security matters aside, since it's a whole another topic. Say, I have the following client side implementation which leverages the knockout.js observables and computed observables. // Define the global 'app' object var app = { data: { …
Jani Hyytiäinen
  • 5,293
  • 36
  • 45
0
votes
1 answer

SignalR .net Client: How to send logged in users activity to a dashboard

I am just starting with SignalR and I am using version 1.2.0. I do have an existing asp.net webform application where users signs in and does some activities and signs out or just closes the browser. Can anybody please share any code sample so that…
marifrahman
  • 681
  • 2
  • 13
  • 31
0
votes
1 answer

SignalR error with MVC

I have a class called Startup this is the class [assembly: OwinStartup(typeof(MyApp.Startup))] namespace MyApp { public class Startup { public void Configuration(IAppBuilder app) { app.MapSignalR(); } …
Mohamed Naguib
  • 1,720
  • 6
  • 23
  • 32
0
votes
1 answer

SignalR server ping error

I use SignalR 2.0.0 Win2012 iis8 After using latest 2.0.0 version in previous version the error not occurred. i am received that error: "Failed to ping server". but i am still connected. why i receive the above error? what i need to do for resolve…
0
votes
1 answer

SignalR connect error

I use SignalR 2.0.0 Win2012 iis8 with two environment with two different ips. one environment service is up and second is down(purposely) use websocket protocol. i have the following scenario: When i connect to first environment and want to connect…
0
votes
1 answer

SignalR calling clients from outside the hub does not work

I am evaluating SignalR with a very simple example to be able to call the clients from the server. I have installed the latest version of SignalR using Nuget in an empty Visual Studio web application - Visual Studio 2012. The scenario is: I have an…
user1829319
  • 691
  • 1
  • 8
  • 22
0
votes
1 answer

Signalr in a separate library

I am using ASP.NET MVC 5, with a library for my business logic. I want to use Signalr for chatting, however the messages should be validated, recorded to database, and maybe emailed to recipient if he is not online. My question is: Is it better to…
Bassel Banbouk
  • 403
  • 5
  • 15
0
votes
1 answer

SignalR transmission lean-ness?

Does SignalR send the entire name of the callback method between the server and client every single time, or is there an encoding? Example : If I'm invoking a method named SetChatModeType on the server, it sends the entire method name the first…
Brian Rosamilia
  • 1,448
  • 14
  • 24
0
votes
0 answers

Asp.Net session not working in OnConnected method of Hub class of signalR

Below is my code.I am trying to get the session values from onConnected method of hub class. But session is not working.It says enable the session first in configuration but this is already enabled public override Task OnConnected() { …
sandeep.mishra
  • 825
  • 4
  • 19
  • 40
0
votes
2 answers

SignalR owin startup doesn't get hit. get "Object doesn't support property or method " javascript error

For the last many hours, I've been banging my head to make this work. I have a chat application using SignalR but am getting the javascript error "Object doesn't support property or method " while running it. I am using IIS to host the site. I am…
Tiju John
  • 933
  • 11
  • 28
1 2 3
99
100