26 overrides of ConnectionId
ClientSample (1)
Tcp\TcpConnection.cs (1)
43public override string ConnectionId { get; set; } = Guid.NewGuid().ToString();
InMemory.FunctionalTests (4)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (2)
1020public override string ConnectionId { get; set; } 1179public override string ConnectionId { get; set; }
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
241public override string ConnectionId { get; set; }
src\Servers\Kestrel\shared\TransportConnection.cs (1)
30public override string ConnectionId
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
72public override string ConnectionId { get; set; }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
158public override string ConnectionId { get; set; }
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
81public override string? ConnectionId
Microsoft.AspNetCore.Server.Kestrel.Core (4)
HttpsConfigurationService.cs (1)
200public override string ConnectionId
Internal\WebTransport\WebTransportStream.cs (1)
28public override string ConnectionId { get => _streamId.ToString(NumberFormatInfo.InvariantInfo); set => throw new NotSupportedException(); }
Middleware\LoggingMultiplexedConnectionMiddleware.cs (2)
43public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; } 113public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; }
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
SniOptionsSelectorTests.cs (1)
952public override string ConnectionId { get; set; } = "MockConnectionId";
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
241public override string ConnectionId { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (2)
1020public override string ConnectionId { get; set; } 1179public override string ConnectionId { get; set; }
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
241public override string ConnectionId { get; set; }
src\Servers\Kestrel\shared\TransportConnection.cs (1)
30public override string ConnectionId
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Servers\Kestrel\shared\TransportConnection.cs (1)
30public override string ConnectionId
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Servers\Kestrel\shared\TransportConnection.cs (1)
30public override string ConnectionId
src\Servers\Kestrel\shared\TransportMultiplexedConnection.cs (1)
24public override string ConnectionId
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Servers\Kestrel\shared\TransportConnection.cs (1)
30public override string ConnectionId
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HubConnectionTests.Reconnect.cs (1)
1176public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; }
TestConnection.cs (1)
36public override string ConnectionId { get; set; }
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Shared\TestConnectionContext.cs (1)
12public override string ConnectionId { get; set; }
Microsoft.AspNetCore.SignalR.Tests (1)
Internal\MessageBufferTests.cs (1)
557public override string ConnectionId { get; set; }
4 writes to ConnectionId
Microsoft.AspNetCore.Server.Kestrel.Core (3)
HttpsConfigurationService.cs (1)
203set => _inner.ConnectionId = value;
Middleware\LoggingMultiplexedConnectionMiddleware.cs (2)
43public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; } 113public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; }
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.Reconnect.cs (1)
1176public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; }
49 references to ConnectionId
InMemory.FunctionalTests (5)
ConnectionMiddlewareTests.cs (1)
246connectionId = context.ConnectionId;
EventSourceTests.cs (2)
278connectionId = connectionContext.ConnectionId; 369connectionId = connectionContext.ConnectionId;
TlsListenerTests.cs (2)
45Logger.LogDebug("[Received TlsClientHelloBytesCallback] Connection: {0}; TLS client hello buffer: {1}", connection.ConnectionId, clientHelloBytes.Length); 88Logger.LogDebug("[Received TlsClientHelloBytesCallback] Connection: {0}; TLS client hello buffer: {1}", connection.ConnectionId, clientHelloBytes.Length);
Microsoft.AspNetCore.Http.Connections (1)
HttpConnectionDispatcherOptions.cs (1)
128/// Set to allow connections to reconnect with the same <see cref="BaseConnectionContext.ConnectionId"/>.
Microsoft.AspNetCore.Http.Connections.Common (1)
NegotiationResponse.cs (1)
51/// If set, the connection should attempt to reconnect with the same <see cref="BaseConnectionContext.ConnectionId"/> if it disconnects.
Microsoft.AspNetCore.Server.Kestrel.Core (23)
HttpsConfigurationService.cs (1)
202get => _inner.ConnectionId;
Internal\ConnectionDispatcher.cs (1)
64Log.ConnectionAccepted(connection.ConnectionId);
Internal\Http2\Http2FrameWriter.cs (1)
142_log.Http2FlowControlQueueMaximumTooLow(_connectionContext.ConnectionId, maxStreamsPerConnection, _maximumFlowControlQueueSize);
Internal\Http3\Http3Connection.cs (1)
662_multiplexedContext.ConnectionId,
Internal\Http3\Http3ControlStream.cs (1)
82public string TraceIdentifier => _context.StreamContext.ConnectionId;
Internal\Http3\Http3Stream.cs (1)
964return _context.StreamContext.ConnectionId;
Internal\Infrastructure\ConnectionReference.cs (1)
19ConnectionId = connection.TransportConnection.ConnectionId;
Internal\Infrastructure\KestrelConnection.cs (1)
176return Logger.BeginScope(new ConnectionLogScope(connectionContext.ConnectionId));
Internal\Infrastructure\KestrelConnectionOfT.cs (3)
61Logger.ConnectionStart(connectionContext.ConnectionId); 74Logger.LogError(0, ex, "Unhandled exception while processing {ConnectionId}.", connectionContext.ConnectionId); 88Logger.ConnectionStop(connectionContext.ConnectionId);
Internal\Infrastructure\KestrelEventSource.cs (4)
65connection.ConnectionId, 85ConnectionStop(connection.ConnectionId); 176TlsHandshakeStart(connectionContext.ConnectionId, sslOptions.EnabledSslProtocols.ToString()); 198TlsHandshakeStop(connectionContext.ConnectionId, sslProtocols, applicationProtocol, hostName);
Middleware\ConnectionLimitMiddleware.cs (2)
36KestrelEventSource.Log.ConnectionRejected(connection.ConnectionId); 37_trace.ConnectionRejected(connection.ConnectionId);
Middleware\HttpConnectionMiddleware.cs (1)
37connectionContext.ConnectionId,
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
36connectionContext.ConnectionId,
Middleware\HttpsConnectionMiddleware.cs (2)
216_logger.HttpsConnectionEstablished(context.ConnectionId, sslStream.SslProtocol); 254KestrelEventSource.Log.TlsHandshakeFailed(metricsContext.ConnectionContext.ConnectionId);
Middleware\LoggingMultiplexedConnectionMiddleware.cs (2)
43public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; } 113public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; }
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Internal\NamedPipeLog.cs (2)
18AcceptedConnectionCore(logger, connection.ConnectionId); 29ConnectionErrorCore(logger, connection.ConnectionId, ex);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicLog.cs (4)
20AcceptedConnectionCore(logger, connection.ConnectionId); 53ConnectionErrorCore(logger, connection.ConnectionId, ex); 64ConnectionAbortedCore(logger, connection.ConnectionId, errorCode, ex); 75ConnectionAbortCore(logger, connection.ConnectionId, errorCode, reason);
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
192public string? ConnectionId => _state.CurrentConnectionStateUnsynchronized?.Connection.ConnectionId; 2163_hubConnection._logScope.ConnectionId = connection.ConnectionId;
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.Reconnect.cs (1)
1176public override string ConnectionId { get => _inner.ConnectionId; set => _inner.ConnectionId = value; }
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
128public virtual string ConnectionId => _connectionContext.ConnectionId;
SignalRSamples (5)
ConnectionHandlers\MessagesConnectionHandler.cs (3)
21await Broadcast($"{connection.ConnectionId} connected ({transportType})"); 36text = $"{connection.ConnectionId}: {text}"; 54await Broadcast($"{connection.ConnectionId} disconnected ({transportType})");
ConnectionList.cs (2)
30_connections.TryAdd(connection.ConnectionId, connection); 35_connections.TryRemove(connection.ConnectionId, out var dummy);
SocialWeather (2)
ConnectionList.cs (2)
31_connections.TryAdd(connection.ConnectionId, connection); 36_connections.TryRemove(connection.ConnectionId, out var dummy);
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
59Logger.LogDebug("Application receive loop ending for connection {connectionId}.", connection.ConnectionId); 70Logger.LogDebug("Graceful shutdown triggered for {connectionId}.", connection.ConnectionId);