4 instantiations of UrlSnapshot
Aspire.Hosting (3)
Dcp\ApplicationExecutor.cs (3)
790urls.Add(new(Name: ep.EndpointName, Url: url, IsInternal: false)); 797urls.Add(new(Name: ep.EndpointName, Url: ep.Url, IsInternal: false)); 804urls.Add(new(Name: $"{ep.EndpointName} target port", Url: endpointString, IsInternal: true));
Aspire.Hosting.Tests (1)
Codespaces\CodespacesUrlRewriterTests.cs (1)
76var localhostUrlSnapshot = new UrlSnapshot("Test", "http://localhost:1234", false);
8 references to UrlSnapshot
Aspire.Hosting (6)
ApplicationModel\CustomResourceSnapshot.cs (1)
97public ImmutableArray<UrlSnapshot> Urls { get; init; } = [];
Dcp\ApplicationExecutor.cs (2)
737private ImmutableArray<UrlSnapshot> GetUrls(CustomResource resource) 741var urls = ImmutableArray.CreateBuilder<UrlSnapshot>();
Devcontainers\Codespaces\CodespacesResourceUrlRewriterService.cs (3)
30Dictionary<UrlSnapshot, UrlSnapshot>? remappedUrls = null; 58select remappedUrls.TryGetValue(originalUrl, out var remappedUrl) ? remappedUrl : originalUrl;
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\BicepProvisioner.cs (1)
77var portalUrls = new List<UrlSnapshot>();
Aspire.Hosting.Tests (1)
Codespaces\CodespacesUrlRewriterTests.cs (1)
76var localhostUrlSnapshot = new UrlSnapshot("Test", "http://localhost:1234", false);