14 references to Path
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingTagNames.cs (1)
69Path,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (13)
Logging\AcceptanceTests.cs (6)
190Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == TelemetryConstants.Unknown); 250Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == TelemetryConstants.Unknown); 322Assert.Single(requestState, x => x.Key == HttpLoggingTagNames.Path && x.Value == TelemetryConstants.Unknown); 378Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == TelemetryConstants.Unknown); 463Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == RequestPath); 584Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == TelemetryConstants.Unknown);
Logging\AcceptanceTests.Mvc.cs (5)
82Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == redactedPath); 120Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == ActionRouteTemplate); 172Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == expectedPath); 207Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == $"/api/users/testUserId/someTestData"); 250Assert.Single(state, x => x.Key == HttpLoggingTagNames.Path && x.Value == expectedPath);
Logging\AcceptanceTests.Routing.cs (2)
139Assert.Equal(expectedHttpPath, state[HttpLoggingTagNames.Path]); 177Assert.Equal(httpRoute, state[HttpLoggingTagNames.Path]);