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); 150Log.CreatedCircuit(_logger, circuitHost.CircuitId, circuitHost.CircuitId.Secret, Context.ConnectionId); 205Context.ConnectionId,
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
139mockContext.Setup(x => x.ConnectionId).Returns("123");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (9)
Hubs.cs (9)
33await Clients.Client(Context.ConnectionId).SendAsync("Echo", message); 38await Clients.Client(Context.ConnectionId).SendAsync("NoClientHandler"); 43return Context.ConnectionId; 155await Clients.Client(Context.ConnectionId).Echo(message); 160await Clients.Client(Context.ConnectionId).NoClientHandler(); 165return Context.ConnectionId; 191await Clients.Client(Context.ConnectionId).Echo(message); 196await Clients.Client(Context.ConnectionId).NoClientHandler(); 201return 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);