1 override of TraceIdentifier
Microsoft.AspNetCore.Http (1)
DefaultHttpContext.cs (1)
191public override string TraceIdentifier
1 write to TraceIdentifier
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
627existing.TraceIdentifier = context.TraceIdentifier;
10 references to TraceIdentifier
Aspire.Dashboard (1)
Components\Pages\Error.razor.cs (1)
24RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplicationDiagnostics.cs (1)
630_traceIdentifier = httpContext.TraceIdentifier;
Microsoft.AspNetCore.Http.Abstractions (1)
HttpContext.cs (1)
100public string TraceIdentifier => _context.TraceIdentifier;
Microsoft.AspNetCore.Http.Connections (4)
Internal\HttpConnectionContext.cs (1)
514HttpConnectionDispatcher.Log.ConnectionAlreadyActive(dispatcherLogger, ConnectionId, HttpContext!.TraceIdentifier);
Internal\HttpConnectionDispatcher.cs (3)
588Log.ConnectionAlreadyActive(_logger, connection.ConnectionId, context.TraceIdentifier); 627existing.TraceIdentifier = context.TraceIdentifier; 763newHttpContext.TraceIdentifier = context.TraceIdentifier;
Microsoft.AspNetCore.Http.Extensions (1)
DefaultProblemDetailsWriter.cs (1)
58var traceId = Activity.Current?.Id ?? httpContext.TraceIdentifier;
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\DefaultProblemDetailsFactory.cs (1)
105var traceId = Activity.Current?.Id ?? httpContext?.TraceIdentifier;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.cs (1)
121/// The request id. <seealso cref="HttpContext.TraceIdentifier"/>