Questions tagged [signalr-2]

SignalR 2 is the second major version of the library to add real-time web functionality in ASP.NET. Use with [signalr]. For the ASP.NET Core version, use [asp.net-core-signalr].

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

SignalR 2.0.3 was released in March 2014.

94 questions
3
votes
1 answer

SignalR2 OnConnected not working as per documentation

Below is the code I wrote for SignalR implementation based on ASP.Net documentation and I use manual proxy creation method. I Could see only negotiate happening and received a Connection id. I can't see OnConnected method in my hub gets executed…
Developer
  • 487
  • 9
  • 28
2
votes
0 answers

AWS Lambda (.NET web api ) configured to use SignalR can't connect to an S3 web site

SignalR doesn't work in this case: -.NET core Web API hosted on AWS Lambda that configured with SignalR. -Vue Web site hosted on S3 bucket also configured with SignalR. Both can't connect on AWS, but they work fine locally on my machine. I tried to…
2
votes
1 answer

SignalR client-side error: Connection started reconnecting before invocation result was received

I'll preface the question with I am using the full asp.net SignalR 2.3.0.0 client and server, NOT the .net core signalr version. javascript client-side code var pxyHub = $.connection.myHub; $.connection.hub.start(); …
joedotnot
  • 4,810
  • 8
  • 59
  • 91
2
votes
1 answer

How do I maintain a list of Client methods the Server's Hub can call?

For SignalR 2.1, how do I maintain a list of Client methods the Server's Hub can call? According to Differences between SignalR and ASP.NET Core SignalR - Hub Proxies, "Hub proxies are no longer automatically generated." Is there an existing…
2
votes
1 answer

Signalr best practice when phone splash screen comes on

I have a signalr page implementation that works well while looking at the screen. However, if I am on my phone and it goes to a splash screen, and I get back into my phone with the browser window still there, no updates occurred. I have to wait…
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
2
votes
1 answer

Angular SignalR Error during negotiation request

We are trying to use SignalR with Angular 2 and TypeScript. It seems my client side code is not working, especially Establish a connection (without the generated proxy) I Followed Angular 2 TypeScript using SignalR but I didnt include SignalR/Hubs…
Developer
  • 487
  • 9
  • 28
2
votes
1 answer

How to use SignalR with aspnetcore 2.0.0 preview

I am trying to use SignalR with aspnetcore 2.0.0 preview. The preview version is supposed to have support for signalR as per the release notes and I can add references to the "Microsoft.aspnetcoreSignalR" package. However, I am unable to find the…
Manish
  • 61
  • 1
  • 2
  • 6
1
vote
1 answer

How can I send a private message to a user with aspnet core SignalR?

I created a project x and I can't see where the error is. Everything works but the private message doesn't work. The link below is my sample project. In my real project, there is a feature called connectionToken in context on the client. How can I…
1
vote
0 answers

Signal Hub Proxy Call back Receiving Pushed Object as Null

The client side Proxy subscribed called back is receiving null when an object is passed. If a simple string is pushed from the server it is receiving perfectly on the client side as data parameter but not in case of an object . Not sure what I am…
Arif H-Shigri
  • 1,086
  • 12
  • 27
1
vote
0 answers

Running SignalR Service with Azure function not working

I'm trying to run SignalR Service using azure functions with nodeJS to be able send messages to react. doc Actually I just want to set up backend services ( SignalR + send messages functions ) locally. For that I have created SignalR…
infodev
  • 4,673
  • 17
  • 65
  • 138
1
vote
1 answer

Can we Host ASP.NET SignalR v2.4.1 in an ASP.NETCORE App?

I have a situation where my codebase is stuck in .Net 4.7.2 for now but I need to push some notifications on a Website which is built on Asp.Core 2.2. Across the system we use SignalR 2.4.1 but it is completely re-written in .Net Core. I tried…
1
vote
0 answers

How to start Hub connection on signalR with Java-client with app server based Azure signalR Service?

I have followed above signalR architecture and we have used ASP.NET SignalR, And I am trying to connect from JAVA-client, Step 1 : IF i do negotiate request to app server than i am getting following response strong text { …
Deepak Patel
  • 464
  • 1
  • 3
  • 17
1
vote
2 answers

Asp.Net Core SignalR Can Not Connect From Android Studio Emulator Client

I have a SignalR Server running on http://localhost:50926/testhub I can connect to the hub on the same machine with a .net signalR client and it works as expected. I can not connect to it on an Android Client running in Android Studio. I…
Paul Stanley
  • 1,999
  • 1
  • 22
  • 60
1
vote
0 answers

SignalR client is not processing recieved data asynchronusly

my problem is the following: I have my ASP.NET WEB API Server (not Core) with basic SignalR functionality. Basically on Client connected I return multiple sets of data to the Client In my DataHub.cs public class DataHub : Hub { public override…
1
vote
0 answers

Multiple SignalR-connections/endpoints inside a single WebApp?

Suppose we're building an SPA (Single Page Application) which depends on a couple of independent back-end systems. Basically a Microservices-esque implementation of SignalR-hubs. Each of these back-end systems expose a separate SignalR endpoint…
Rob Wijkstra
  • 801
  • 1
  • 7
  • 19