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
0
votes
1 answer

SignalR force an application to be in a certain group

I have a SignalR application. ////Server public class ChatHub : Hub{ public override Task OnConnected() { string name = Context.QueryString["applicationName"].ToString();// Context.User.Identity.Name; …
heyNow
  • 866
  • 2
  • 19
  • 42
0
votes
1 answer

SignalR create groups from an array

I can see the way to create a group as: public Task CreateGroup(string group) { return Groups.Add(Context.ConnectionId, group); } How do I create an array of groups for Ids of an entity Channel (having Id and Name properties) even though the…
heyNow
  • 866
  • 2
  • 19
  • 42
0
votes
1 answer

SignalR asynchronous task

In my SignalR2 hub I added an async method StartMyTask() that will get called from the client, as well as OnConnected() method. However whenever OnConnected executes it never connects to the hub (or return base.OnConnected()) never gets hit: Hub: …
BobSwanson
  • 423
  • 2
  • 5
  • 18
-1
votes
1 answer

SignalR group reconnect

We have a game implemented using SignalR, which has several players and joined to a group. However, some players may suddenly off-line, and we want to start robots to replace the left players. Our current issue is when we let one player off line,…
chong chu
  • 11
  • 3
1 2 3 4 5 6
7