5 references to IsLocalhostTld
Aspire.Hosting (4)
ApplicationModel\EndpointHostHelpers.cs (3)
70return uri?.Host is not null && IsLocalhostTld(uri.Host); 95return IsLocalhost(host) || IsLocalhostTld(host); 136if (IsLocalhostTld(targetHost) && Uri.TryCreate(allocatedUrl, UriKind.Absolute, out var uri))
Orchestrator\ApplicationOrchestrator.cs (1)
275if (additionalUrl is not null && EndpointHostHelpers.IsLocalhostTld(additionalUrl.Endpoint?.EndpointAnnotation.TargetHost))
Aspire.Hosting.Tests (1)
ApplicationModel\EndpointHostHelpersTests.cs (1)
71var result = EndpointHostHelpers.IsLocalhostTld(host);