4 references to IsLocalhostOrLocalhostTld
Aspire.Hosting (2)
ApplicationModel\EndpointHostHelpers.cs (1)
108
return uri?.Host is not null &&
IsLocalhostOrLocalhostTld
(uri.Host);
Dcp\DcpExecutor.cs (1)
1983
var s when EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(s) => (KnownHostNames.Localhost, EndpointBindingMode.SingleAddress), // Explicitly set to localhost or .localhost subdomain
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
469
if (!EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(targetEndpointAnnotation.TargetHost))
Aspire.Hosting.Tests (1)
ApplicationModel\EndpointHostHelpersTests.cs (1)
173
var result = EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(host);