2 writes to Host
Microsoft.AspNetCore.Mvc.Core (1)
UrlHelperExtensions.cs (1)
197Host = host,
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTestBase.cs (1)
700Host = "remotelyhost",
12 references to Host
Microsoft.AspNetCore.Mvc.Abstractions (3)
IUrlHelper.cs (3)
24/// <see cref="UrlActionContext.Host"/> are non-<c>null</c>. See the remarks section for important security information. 30/// The value of <see cref="UrlActionContext.Host" /> should be a trusted value. Relying on the value of the current request 78/// <see cref="UrlActionContext.Protocol"/> and <see cref="UrlActionContext.Host"/> are non-<c>null</c>.
Microsoft.AspNetCore.Mvc.Core (4)
Routing\EndpointRoutingUrlHelper.cs (1)
73return GenerateUrl(urlActionContext.Protocol, urlActionContext.Host, path);
Routing\UrlHelper.cs (1)
60return GenerateUrl(actionContext.Protocol, actionContext.Host, virtualPathData, actionContext.Fragment);
UrlHelperExtensions.cs (2)
278/// <see cref="UrlActionContext.Protocol"/> and <see cref="UrlActionContext.Host"/> are non-<c>null</c>. 311/// <see cref="UrlActionContext.Protocol"/> and <see cref="UrlActionContext.Host"/> are non-<c>null</c>.
Microsoft.AspNetCore.Mvc.Core.Test (3)
Routing\UrlHelperExtensionsTest.cs (3)
633Assert.Equal(expectedHost, actual.Host); 668Assert.Equal(expectedHost, actual.Host); 703Assert.Equal(expectedHost, actual.Host);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
FormActionTagHelperTest.cs (1)
222Assert.Null(param.Host);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Rendering\HtmlHelperLinkGenerationTest.cs (1)
67actionContext.Host,