12 references to Host
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (1)
81
logContext.AddParameter(HttpLoggingTagNames.
Host
, context.Request.Host.Value);
Logging\HttpLoggingTagNames.cs (1)
67
Host
,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (10)
Logging\AcceptanceTests.cs (5)
189
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));
321
Assert.Single(requestState, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
377
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Host
&& !string.IsNullOrEmpty(x.Value));
583
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));