7 references to UrlHelper
aspire (6)
Commands\AgentMcpCommand.cs (1)
170
if (!
UrlHelper
.IsHttpUrl(dashboardUrl))
Commands\TelemetryCommandHelpers.cs (1)
215
if (requestDashboardUrl is null || !
UrlHelper
.IsHttpUrl(requestDashboardUrl))
Configuration\ConfigSourceService.cs (2)
185
if (readmeUrl is not null && (!
UrlHelper
.IsHttpUrl(readmeUrl) || readmeUrl.Any(char.IsControl)))
662
if (readmeUrl is not null &&
UrlHelper
.IsHttpUrl(readmeUrl) && !readmeUrl.Any(char.IsControl))
Packaging\PackageSourceOverrideMappings.cs (1)
166
if (
UrlHelper
.IsHttpUrl(trimmedSource))
Packaging\PackagingService.cs (1)
553
if (
UrlHelper
.IsHttpUrl(overrideFeed))
Aspire.Cli.Tests (1)
Packaging\PackagingServiceTests.cs (1)
2155
Assert.False(
UrlHelper
.IsHttpUrl(aspireMapping.Source), "Local hive Aspire* mapping must be a filesystem path, not an HTTP feed.");