6 references to IsLocalhostOrLocalhostTld
Aspire.Hosting (3)
ApplicationModel\EndpointHostHelpers.cs (1)
109
return uri?.Host is not null &&
IsLocalhostOrLocalhostTld
(uri.Host);
Dashboard\DashboardServiceHost.cs (1)
233
return EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(host);
Dcp\DcpModelUtilities.cs (1)
364
var s when EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(s) => (KnownHostNames.Localhost, EndpointBindingMode.SingleAddress), // Explicitly set to localhost or .localhost subdomain
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
585
if (!EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(targetEndpointAnnotation.TargetHost))
Aspire.Hosting.Maui (1)
MauiOtlpExtensions.cs (1)
499
EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(host))
Aspire.Hosting.Tests (1)
ApplicationModel\EndpointHostHelpersTests.cs (1)
177
var result = EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(host);