signalr-hub Questions

1

I'm building my first Azure Function App with SignalR trigger binding following this guide. I already have my Function App and my SignalR Service set up in Azure. But now I need to debug one of my ...
Protasis asked 14/1, 2023 at 16:12

2

Solved

I'm trying to pass userId to hub on connection to signalR. This is how client sets up the connection: connection = new HubConnectionBuilder() .WithUrl("http://localhost:56587/hub", options =>...

3

I am writing a game in SignalR. The idea is that you connect with your laptop, which will be used as "display" and then you connect with your smart phone and that will be used as "joystick". The en...
Dreamy asked 11/1, 2013 at 7:58

4

I am trying to implement SignalR in an ASP.NET (not Core) and Angular (currently 10) application. Startup.cs is using Owin. Every documentation or example I could find was for either ASP.NET Core o...
Tuttle asked 10/8, 2020 at 15:4

3

Solved

In Web API all the exceptions can be cought by Middleware. In Asp.Net Core 5.0 Hub Filters will do that job. But how to handle exceptions in Asp.Net Core 3.1 in SignalR hubs? Is there a sole way to...

4

Solved

This is my Hub code: public class Pusher : Hub, IPusher { readonly IHubContext _hubContext = GlobalHost.ConnectionManager.GetHubContext<Pusher>(); public virtual Task PushToOtherInGroup(d...
Synchrotron asked 8/7, 2013 at 19:32

3

Solved

I have a small SignalR project that I've started that right now all it does is receives a string and echo it back to all connected users. What I'm wondering is, since SignalR open websockets on my...
Higher asked 21/7, 2015 at 14:55

3

Solved

My code in SignalR hub: public class AlertHub : Hub { public static readonly System.Timers.Timer _Timer = new System.Timers.Timer(); static AlertHub() { _Timer.Interval = 60000; _Timer.Elaps...
Racoon asked 4/3, 2014 at 21:14

2

Solved

I'm having issues with a SignalR project I'm currently working on. I'm trying to build a server using .Net Core, and a client using traditional .Net (framework 4.6.1). However the server and client...

3

Doing a really simple call to setup connect/stop using SignalR in Angular 6 where I had the following code: signalR.helper.ts public static setupHub<T>(hubUrl: string, eventName: string, c...
Gingili asked 21/12, 2018 at 3:35

5

Solved

Server side: public override Task OnConnected() { var connectionId = Context.ConnectionId; var user = Context.User.Identity.Name; // Context.User is NULL return base.OnConnected(); } Client s...
Puke asked 8/4, 2015 at 8:18

6

Solved

Is there a way to find out the number of listeners (clients connected to a hub?) I'm trying to run/start a task if at least one client is connected, otherwise do not start it: [HubName("taskActio...
Scrim asked 22/11, 2012 at 13:57

3

Solved

I have an ASP .Net Core 2.2 Web API with a SignalR hub. Is it possible to call one of its methods (for example, SendMessageToAll) using Postman? The problem is that I only have the API - no fronten...

3

I have socket notification in my application which work great when I run locally, but when I deploy to my VM, it complains giving the following message. Error: Error during negotiation request. a...
Inhabit asked 20/5, 2015 at 16:57

2

Solved

I have referenced below two libraries dynamically in my page. When I browse my application below mentioned error did not come in Chrome browser. But in Internet Explorer the error occurs. var sign...
Surrejoinder asked 30/5, 2016 at 9:44

4

Solved

Well I'm trying to perform a proof about video streaming, I'm working with asp.net c#. I'm kind of lost, you have any idea or suggestion?
Argue asked 22/10, 2012 at 17:50

4

I have a requirement to send notification to specific user. I am using dotnet core 3.1. ASPNETCORE signalR for the notification. I am able to send the messages to all clients but unablt to do so fo...
Periodicity asked 18/2, 2020 at 7:4

6

Solved

I'm trying to get the context for a hub using the following: var hubContext = GlobalHost.ConnectionManager.GetHubContext<SomeHub>(); The problem is that GlobalHost is not defined. I see it...
Airmail asked 4/12, 2014 at 16:40

6

Solved

This is driving me insane. I'm using latest signalR release (2.0.2). This is my hub code (OnConnected) public override Task OnConnected() { //User is null then Identity and Name too. Connect...
Twobyfour asked 25/2, 2014 at 0:24

3

Solved

I am just starting to explore signalR and I would like to able to send messages from the server to all clients. Here is my Hub using System; using System.Collections.Generic; using System.Linq; usi...
Bipinnate asked 29/8, 2012 at 23:43

2

Solved

I have an MVC 5 app serving up views, and a Web API 2 app as the service layer (.NET 4.5). The Web API app uses SignalR 2.1.2 to return progress as it's processing POSTs to the service API. The two...
Myriagram asked 20/2, 2015 at 8:40

3

Solved

I am trying to create a stop button in my webapp. The webapp creates bulk shortcuts to different files. I have tried using $.connection.shortcutHub.stop() however this comes up with an error saying...
Zilla asked 28/7, 2016 at 23:49

2

Solved

I have the following JS working: var chat = $.connection.appHub; My app has a single hub, AppHub, that handles two types of notifications - Chat and Other. I'm using a single hub because I need ac...
Plumbic asked 21/12, 2013 at 23:8

5

Solved

I am using the hub- feature of SignalR (https://github.com/SignalR/SignalR) to publish messages to all subscribed clients: public class NewsFeedHub : Hub public void Send(string channel, string co...
Lounging asked 25/9, 2011 at 22:57

6

Solved

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 reque...
Crockett asked 8/7, 2013 at 18:39

© 2022 - 2025 — McMap. All rights reserved.