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.

SignalR is an asynchronous library for .NET to help build real-time, multi-user interactive web applications.

SignalR lets you communicate with clients on your website in real time through the best continuous connections available between browser and server (WebSocket between Chrome and IIS 8, but long polling between Internet Explorer 9 and IIS 7.5).

SignalR allows you to call methods from the server on the client (.NET , JavaScript, Java) and reciprocally. You can invoke methods on every client or a subset of clients.

Extensive documentation and guides are found here.

SignalR can be downloaded through NuGet here.

The source code is available on GitHub.

The JavaScript client package (jQuery plugin)

9391 questions
19
votes
2 answers

SignalR: How to truly call a hub's method from the server / C#

I'm trying to improve my application which will require calling a hub from C# instead of javascript. The current workflow for adding a task in my app is: make an API call to add the data to the database return new record to AngularJS…
mellis481
  • 4,332
  • 12
  • 71
  • 118
19
votes
2 answers

Any samples for mvc6 with signalr?

I have a full-working ASP.NET MVC application (.NET Core, ASP.NET MVC 6). I would now like to add a signalr to my application. Any samples for MVC with signalr?
selva
  • 887
  • 2
  • 7
  • 11
19
votes
5 answers

OWIN + SignalR + Autofac

Taken from: http://docs.autofac.org/en/latest/integration/signalr.html: "A common error in OWIN integration is use of the GlobalHost. In OWIN you create the configuration from scratch. You should not reference GlobalHost anywhere when using the OWIN…
itim
  • 312
  • 2
  • 11
19
votes
6 answers

The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly." on RouteTable.Routes.MapHubs();

I'm working with SignalR 1.1.2 version and Windsor Castle in an AspNet MVC 4 application. My problem is that this error message is showing up since I moved to the newer SignalR version. "The requested Performance Counter is not a custom counter, it…
polonskyg
  • 4,269
  • 9
  • 41
  • 93
19
votes
4 answers

SignalR not always ready after start().done()?

I have got a small project working with SignalR, however i am getting some very inconsistent behavior.