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