13 references to Host
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (1)
83
logContext.AddParameter(HttpLoggingTagNames.
Host
, context.Request.Host.Value);
Logging\HttpLoggingTagNames.cs (1)
67
Host
,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (11)
Logging\AcceptanceTests.cs (6)
233
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
293
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
346
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
407
Assert.Single(requestState, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
463
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
669
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
Logging\AcceptanceTests.Mvc.cs (5)
81
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
119
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
170
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
206
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
249
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));