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