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