1 override of TraceIdentifier
Microsoft.AspNetCore.Http (1)
DefaultHttpContext.cs (1)
191public override string TraceIdentifier
2 writes to TraceIdentifier
InMemory.FunctionalTests (1)
RequestTests.cs (1)
577context.TraceIdentifier = knownId;
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
622existing.TraceIdentifier = context.TraceIdentifier;
41 references to TraceIdentifier
Aspire.Dashboard (1)
Components\Pages\Error.razor.cs (1)
24RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
AzureAIFoundryEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
AzureOpenAIEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
BlazorUnitedApp (1)
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Error_razor.g.cs (1)
163RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
ClaimsTransformation (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
Cookies (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
DevTunnels.WebFrontEnd (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
DynamicSchemes (1)
Pages\Error.cshtml.cs (1)
21RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
GitHubModelsEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
HostedBlazorWebassemblyApp.Server (1)
Pages\Error.cshtml.cs (1)
32RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
InMemory.FunctionalTests (5)
EventSourceTests.cs (2)
44requestIds[requestsReceived++] = context.TraceIdentifier; 152requestIds[requestsReceived++] = context.TraceIdentifier;
RequestTests.cs (3)
578await context.Response.WriteAsync(context.TraceIdentifier); 594Assert.Equal(identifierLength, Encoding.ASCII.GetByteCount(context.TraceIdentifier)); 596await context.Response.WriteAsync(context.TraceIdentifier);
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1566traceId = context.TraceIdentifier;
Keycloak.Web (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplicationDiagnostics.cs (1)
583_traceIdentifier = httpContext.TraceIdentifier;
Microsoft.AspNetCore.Hosting.Tests (3)
WebHostTests.cs (3)
882Assert.False(string.IsNullOrWhiteSpace(httpContext.TraceIdentifier)); 883Assert.Same(httpContext.TraceIdentifier, featuresTraceIdentifier); 962Assert.Throws<ObjectDisposedException>(() => capturedContext.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)
587Log.ConnectionAlreadyActive(_logger, connection.ConnectionId, context.TraceIdentifier); 622existing.TraceIdentifier = context.TraceIdentifier; 758newHttpContext.TraceIdentifier = context.TraceIdentifier;
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
823Assert.Equal("requestid", connectionHttpContext.TraceIdentifier);
Microsoft.AspNetCore.Http.Extensions (1)
DefaultProblemDetailsWriter.cs (1)
58var traceId = Activity.Current?.Id ?? httpContext.TraceIdentifier;
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
541return ValueTask.FromResult(new TraceIdentifier(context.TraceIdentifier));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Error.cshtml.cs (1)
37RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
Areas\Identity\Pages\V5\Error.cshtml.cs (1)
37RequestId = 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"/>
MvcFormSample (1)
Controllers\HomeController.cs (1)
48return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
MyFrontend (1)
Components_Pages_Error_razor.g.cs (1)
167requestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
OpenAIEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
PathSchemeSelection (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
Publishers.Frontend (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
StaticFilesAuth (1)
Controllers\HomeController.cs (1)
24return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
WaitFor.Frontend (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
WebFrontEnd (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;