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)
235
return EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(host);
Dcp\DcpModelUtilities.cs (1)
369
var s when EndpointHostHelpers.
IsLocalhostOrLocalhostTld
(s) => (KnownHostNames.Localhost, EndpointBindingMode.SingleAddress), // Explicitly set to localhost or .localhost subdomain
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
581
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);