11 writes to Url
Aspire.Cli.Tests (11)
Backchannel\ResourceSnapshotMapperTests.cs (1)
45
new ResourceSnapshotUrl { Name = "http",
Url
= "http://localhost:5000" }
Commands\DescribeCommandTests.cs (1)
979
Urls = [new() { Name = "http",
Url
= "http://private.example.test", IsInternal = false }]
Mcp\ListResourcesToolTests.cs (9)
678
Url
= $"https://example.com/{urlIndex}/{longText}"
847
new ResourceSnapshotUrl { Name = "tcp",
Url
= "tcp://cache.example.com:6379" },
848
new ResourceSnapshotUrl { Name = "udp",
Url
= "udp://dns.example.com:53" },
849
new ResourceSnapshotUrl { Name = "ws",
Url
= "ws://events.example.com/socket" },
850
new ResourceSnapshotUrl { Name = "wss",
Url
= "wss://events.example.com/socket" },
851
new ResourceSnapshotUrl { Name = "postgres",
Url
= "postgresql://db.example.com:5432/catalog" },
852
new ResourceSnapshotUrl { Name = "file",
Url
= "file:///repo/private.txt" },
853
new ResourceSnapshotUrl { Name = "windows",
Url
= @"C:\repo\private.txt" }
910
Url
= "https://endpoint-user:endpoint-password@localhost:5001/api?view=summary&TOKEN=endpoint-secret#access_token=fragment-secret",
5 references to Url
aspire (5)
Backchannel\ResourceSnapshotMapper.cs (1)
56
Url = u.
Url
,
Commands\DescribeCommand.cs (3)
380
.Select(e => FormatEndpointUrl(e.
Url
, e.DisplayProperties?.DisplayName)))
409
.Select(e => (e.
Url
, DisplayName: e.DisplayProperties?.DisplayName ?? ""))
449
.ThenByDescending(e => e.
Url
.StartsWith("https", StringComparison.OrdinalIgnoreCase))
Mcp\Tools\ListResourcesTool.cs (1)
218
Url = GetBoundedText(McpToolHelpers.SanitizeResourceUrl(url.
Url
)),