1 override of ConnectionId
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubCallerContext.cs (1)
22public override string ConnectionId => _connection.ConnectionId;
33 references to ConnectionId
Microsoft.AspNetCore.Components.Server (4)
ComponentHub.cs (4)
80return _circuitRegistry.DisconnectAsync(circuitHost, Context.ConnectionId); 122var circuitClient = new CircuitClientProxy(Clients.Caller, Context.ConnectionId); 149Log.CreatedCircuit(_logger, circuitHost.CircuitId, circuitHost.CircuitId.Secret, Context.ConnectionId); 204Context.ConnectionId,
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
131mockContext.Setup(x => x.ConnectionId).Returns("123");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (9)
Hubs.cs (9)
31await Clients.Client(Context.ConnectionId).SendAsync("Echo", message); 36await Clients.Client(Context.ConnectionId).SendAsync("NoClientHandler"); 41return Context.ConnectionId; 151await Clients.Client(Context.ConnectionId).Echo(message); 156await Clients.Client(Context.ConnectionId).NoClientHandler(); 161return Context.ConnectionId; 185await Clients.Client(Context.ConnectionId).Echo(message); 190await Clients.Client(Context.ConnectionId).NoClientHandler(); 195return Context.ConnectionId;
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
EchoHub.cs (1)
28return Groups.AddToGroupAsync(Context.ConnectionId, groupName);
Microsoft.AspNetCore.SignalR.Tests (8)
HubConnectionHandlerTestUtils\Hubs.cs (8)
20return Groups.RemoveFromGroupAsync(Context.ConnectionId, groupName); 45return Groups.AddToGroupAsync(Context.ConnectionId, groupName); 125return Clients.Client(Context.ConnectionId).SendAsync("Send", new { }); 442return Groups.AddToGroupAsync(Context.ConnectionId, groupName); 528return Groups.AddToGroupAsync(Context.ConnectionId, groupName); 573await Clients.Client(Context.ConnectionId).GetClientResult(clientValue), 985await Clients.All.SendAsync("Send", $"{Context.ConnectionId} joined"); 1004await Clients.All.Send($"{Context.ConnectionId} joined");
SignalR.Client.FunctionalTestApp (4)
TestHub.cs (4)
37return Context.ConnectionId; 52return Clients.Client(Context.ConnectionId).SendAsync("Message", message); 57return Clients.Client(Context.ConnectionId).SendAsync("CustomObject", customObject); 73var connectionId = Context.ConnectionId;
SignalRSamples (6)
Hubs\Chat.cs (2)
49await Groups.AddToGroupAsync(Context.ConnectionId, groupName); 58await Groups.RemoveFromGroupAsync(Context.ConnectionId, groupName);
Hubs\DynamicChat.cs (2)
44await Groups.AddToGroupAsync(Context.ConnectionId, groupName); 53await Groups.RemoveFromGroupAsync(Context.ConnectionId, groupName);
Hubs\HubTChat.cs (2)
44await Groups.AddToGroupAsync(Context.ConnectionId, groupName); 53await Groups.RemoveFromGroupAsync(Context.ConnectionId, groupName);