4 references to IsLocalhostTld
Aspire.Hosting (3)
ApplicationModel\EndpointHostHelpers.cs (2)
70
return uri?.Host is not null &&
IsLocalhostTld
(uri.Host);
95
return IsLocalhost(host) ||
IsLocalhostTld
(host);
Orchestrator\ApplicationOrchestrator.cs (1)
264
if (additionalUrl is not null && EndpointHostHelpers.
IsLocalhostTld
(additionalUrl.Endpoint?.EndpointAnnotation.TargetHost))
Aspire.Hosting.Tests (1)
ApplicationModel\EndpointHostHelpersTests.cs (1)
71
var result = EndpointHostHelpers.
IsLocalhostTld
(host);