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
1
vote
0 answers

SignalR aspNet core .Net WPF Client is not connecting to server in production Environment

I'm using WPF with asp.net core as sever, for client & server communications we have implemented signalR framework. It is connecting seamlessly when I'm running project through Visual studio / development environment. When I take setup for WPF…
1
vote
0 answers

JIT SignalR Hub Sending and Receiving

Up till now for the past 3 months, I still have 0 clue how SignalR works at the JIT (Just-in-time) level. I'm trying to build a Hub that sends data to the client just in time, and the client will then receive the data and work along with it. EDIT:…
Nicholas
  • 1,883
  • 21
  • 39
1
vote
0 answers

Angular 6 app cannot connect to web API signalR

I have 'old' project with web api and angular 2. Now I'm switching angular 2 to 6, and have problem with signalR. On angular 2 I used 'ng2-signalr' for angular and it works super. For angualr 6, I'm using '@aspnet/signalr' and this library cannot…
user1698635
  • 145
  • 2
  • 12
1
vote
1 answer

Using SignalR for Sending/Receiving Notifications in Xamarin.Forms

Can I use SignalR in Xamarin.Forms for sending/receiving notifications? For example, can I send notifications to a server or receive notifications through Xamarin.Forms?
1
vote
2 answers

Get HubContext from outside of Hub using Aspnetcore.signalr libray (not from Controller)

I am developing SignalR service using AspNetCore.SignalR. Following is my Hub: public class NotificationHub : Microsoft.AspNetCore.SignalR.Hub { public override async Task OnConnectedAsync() { await…
1
vote
1 answer

SignalR general questions

I have in fact couple question regarding that library, hopefully anyone to answer avoiding create separated topics. If that's not the place to ask let me know where please. Nevertheless i think your answer find other people to get knowledge as well…
Mickey25
  • 21
  • 5
1
vote
1 answer

SignalR2 not working in MVC5 using SqlDependency

I am hesitating while posting this question, as there are number of answers available on net for same But my bad luck, nothing is helping me out. For my web application i need notification part and for that i thought using SignalR 2 in same. But…
ArjunArora
  • 986
  • 3
  • 12
  • 27
1
vote
1 answer

Self-hosted SignalR2 multi-layer dependency injection

I've just implemented DI using Ninject for my self-hosted SignalR2 project. public class NinjectSignalRDependencyResolver : DefaultDependencyResolver { private readonly IKernel _kernel; public NinjectSignalRDependencyResolver(IKernel…
1
vote
2 answers

SignalR combined with load balancer missing messages

I have 2 web servers (IIS 8.5) behind a hardware firewall and our application uses SignalR for some real-time updates. We are using SQL Server as the backplane to help us work in this load balanced environment. Additionally we are using sticky…
1
vote
0 answers

SignalR 2 Dependency Injection with Ninject 3.2.0, MVC 5.2.3 & .NET 4.5.1

I cannot get both the Hub and my repository to work at the same time. I believe that it is because two different kernals are used to do the binding. When I do the suggested fix referenced below (one kernal), the client side stops processing the…
midohioboarder
  • 438
  • 5
  • 14
1
vote
1 answer

SignalR on localhost

I'm running a server with a localhost http://*:52080. On the same computer, I'm run client and trying to connect to a local IP hub http://192.168.1.102:52080/signalr. Everything works well. But if I run the client on another computer (from the same…
zRirez
  • 109
  • 2
  • 10
1
vote
1 answer

How to set Application Variable in SignalR Hub class?

First of all I know that we can not access Session Variable and Application Variable in SignalR. But my requirement is I want to increase or decrease current logged in user count from SignalR OnConnect() and OnDisconnect() method. That I already did…
prog1011
  • 3,425
  • 3
  • 30
  • 57
1
vote
0 answers

Getting 404 Error in SignalR version 2.2.1

Following is the code for the first model I created, which works fine: registerModel=new registerModel(); registerModel.contact=[] registerModel.contact.push(/* add 5 contacts */) socket.invoke("create", registerModel); However, the following code,…
1
vote
1 answer

Group Chat Signal R with Web API

Below i have three table which is used for GroupChat,Firstly I am creating the group its all data wil be inserted into GroupTable,then on success of groupCreation i am calling insertConnectionId function which will call the MapGroupConnectionId on…
Nikil
  • 99
  • 15
1
vote
0 answers

how to create a signalR hub proxy in javascript, having hubs in class library?

currently, am working on chat application using signalR and agsxmpp library, I have seen many examples how to create a proxy of hub in javascript. however, my architecture is differ from these examples. I have class library and a web project(web…
bilal
  • 648
  • 8
  • 26