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
5
votes
2 answers

Getting SignalR connection startup error stack

How can I get the full stack of an exception that's happening in an otherwise functioning Web application during SignalR connection setup? Background I'm part of a team maintaining a Web application with C# clients that uses an extremely basic…
Glazius
  • 729
  • 7
  • 28
5
votes
2 answers

Using ASP.NET Core SignalR in .NET Console Client App to Receive Messages from Azure SignalR

I am learning SignalR but have hit a road block. I have an Azure function which is successfully posting to Azure SignalR Hosted Service (configured in Serverless Mode) I've been following this quickstart: Quickstart: Create a chat room with Azure…
Aaron Glover
  • 1,199
  • 2
  • 13
  • 30
5
votes
3 answers

SignalR on Webpack and TypeScript: cannot find module './NodeHttpClient'

I'm trying to set a SignalR client in an Angular app. There is Webpack which does the job. And TypeScript, of course. Package.json is { "private": true, "version": "0.0.0", "scripts": { "test": "karma start ClientApp/test/karma.conf.js" …
tomab
  • 2,061
  • 5
  • 27
  • 38
5
votes
1 answer

Determine Signal R connection status without broadcasting Clients.All.someMethod() and blowing up client side resources

I'm concerned about using Clients.All in my C# Signal R hub class Clients.All.setConnectionStatus(profileId, true); I'm calling it in both OnConnected() and OnDisconnected(bool stopCalled) to show the online status of my logged in…
chuckd
  • 13,460
  • 29
  • 152
  • 331
5
votes
1 answer

ASP.NET Core SignalR websocket connection limit

I produce load testing of SignalR (ASP.NET Core) application hosted at Windows Server 2016 standard using Microsoft.AspNetCore.SignalR.Client. Dotnet core hosting 2.1.1 installed And i can not create more than 3000 (2950-3050) connections. Already…
aleha_84
  • 8,309
  • 2
  • 38
  • 46
5
votes
2 answers

SignalR 2 StartAsync never returns

In the following part of a class, StartAsync never returns. Any ideas why? The server appears to be working fine, and works with Javascript clients. SignalR client version is v1.0.0-rc1-final public HubUtil(string baseUrl) //string clientId …
Paul
  • 9,409
  • 13
  • 64
  • 113
5
votes
1 answer

signalr unity3d connection

I am fairly new to signalr. Im using signalr core to make connection between unity and signalr but my code doesn't return me anything at all. That leaving me wondering if my code is actually working or not. After I've established connection, unity…
kim
  • 153
  • 1
  • 10
5
votes
1 answer

Connect to SignalR Hub after connection start

Let's say i have two or more hubs in my server application. My javascipt client (Angular SPA) initialy needs a connection to the first hub, and needs to subscribe to a method like this: connection =…
Jeroen1984
  • 1,616
  • 1
  • 19
  • 32
5
votes
1 answer

SignalR Does not auto-reconnect

I have a SignalR Hub and a .net Xamarin Android client. When a stable internet connection is used they work fine, the client can send to the hub and the hub can send to the client. However the client appears to have no ability to automatically…
Kyro
  • 748
  • 1
  • 12
  • 28
5
votes
1 answer

$scope.$apply slows down performance

I have a single page application using AngularJS and I am facing one performance issue in it. My application processes incoming events from the server side which are passed to the AngularJS framework on the client side using ASP.NET SignalR. There…
5
votes
0 answers

SignalR - Release build: Server negotiation failed

I am facing an annoying error within my Xamarin application. The solution contains an Android-project and a portable class library. Within the portable class library I have a class which communicates with a SignalR hub with a method…
bkardol
  • 1,258
  • 1
  • 20
  • 32
5
votes
3 answers

How do I add Group support to a mocked Client in a SignalR 2.x unit testing framework?

I'm using Moq to build up a UnitTest framework for my SignalR 2.x application. I am currently mocking up my Clients by: var mockClients = new Mock(); Clients = mockClients.Object; In order to test, I need to test…
JohnB
  • 3,921
  • 8
  • 49
  • 99
5
votes
1 answer

Client Function Not getting called SignalR

Controller class Where Hub is defined public abstract class MonitoringProfileLogChartController : Croem.NotificationManager.Website.Base.BaseController.BaseController { public ActionResult Index() { …
5
votes
2 answers

Call SignalR Hub from Backend Business Layer

I have an MVC website sitting onto of some fairly hefty business objects. My MVC Controllers call Manager objects which conducts and delegates work off to other sets of objects. Basically the code is deep server side, while a Hub in a way is just…
matthewbaskey
  • 1,027
  • 2
  • 17
  • 40
5
votes
1 answer

SignalR: How to call .Net client method from server?

I want to send data to my console application wich have a connection to my "someHub". I tried to do as described in example from a link but got no result. Server side code: [HubName("somehub")] public class SomeHub : Hub { public override Task…
Denis
  • 833
  • 3
  • 12
  • 22