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