8 writes to Urls
Aspire.Hosting (5)
Dcp\ResourceSnapshotBuilder.cs (3)
60Urls = urls, 134Urls = urls, 156Urls = urls,
Devcontainers\Codespaces\CodespacesResourceUrlRewriterService.cs (1)
62Urls = transformedUrls.ToImmutableArray()
Orchestrator\ApplicationOrchestrator.cs (1)
129await _notificationService.PublishUpdateAsync(resource, s => s with { Urls = [.. urls] }).ConfigureAwait(false);
Aspire.Hosting.Azure (2)
Provisioning\Provisioners\BicepProvisioner.cs (2)
105Urls = [.. portalUrls], 218Urls = [.. state.Urls, new(Name: "deployment", Url: url, IsInternal: false)],
Aspire.Hosting.Tests (1)
Codespaces\CodespacesUrlRewriterTests.cs (1)
77Urls = [localhostUrlSnapshot]
26 references to Urls
Aspire.Hosting (4)
ApplicationModel\ResourceNotificationService.cs (1)
564string.Join(" ", newState.Urls.Select(u => $"{u.Name} = {u.Url}")),
Dashboard\DashboardServiceData.cs (1)
44Urls = snapshot.Urls,
Devcontainers\Codespaces\CodespacesResourceUrlRewriterService.cs (2)
32foreach (var originalUrlSnapshot in resourceEvent.Snapshot.Urls) 57var transformedUrls = from originalUrl in resourceEvent.Snapshot.Urls
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\BicepProvisioner.cs (1)
218Urls = [.. state.Urls, new(Name: "deployment", Url: url, IsInternal: false)],
Aspire.Hosting.Tests (21)
Codespaces\CodespacesUrlRewriterTests.cs (3)
84var match = re.Snapshot.Urls.Length > 0 && re.Snapshot.Urls[0].Url.Contains("app.github.dev"); 90resourceEvent.Snapshot.Urls,
DistributedApplicationTests.cs (8)
184Assert.Collection(notStartedResourceEvent.Snapshot.Urls, u => 190Assert.Collection(dependentResourceEvent.Snapshot.Urls, u => 200Assert.Collection(runningResourceEvent.Snapshot.Urls, u => 208Assert.Collection(dependentResourceRunningEvent.Snapshot.Urls, u => 255Assert.Collection(notStartedResourceEvent.Snapshot.Urls, u => 260Assert.Collection(dependentResourceEvent.Snapshot.Urls, u => 274Assert.Collection(runningResourceEvent.Snapshot.Urls, u => 281Assert.Collection(dependentRunningResourceEvent.Snapshot.Urls, u =>
WithUrlsTests.cs (10)
340if (notification.Snapshot.Urls.Length > 0 && initialUrlSnapshot == default) 342initialUrlSnapshot = notification.Snapshot.Urls; 376if (notification.Snapshot.Urls.Length > 0 && initialUrlSnapshot == default) 378initialUrlSnapshot = notification.Snapshot.Urls; 416if (notification.Snapshot.Urls.Length > 0 && initialUrlSnapshot == default) 418initialUrlSnapshot = notification.Snapshot.Urls; 424if (notification.Snapshot.Urls.Length > 0 && urlSnapshotAfterRunning == default) 426urlSnapshotAfterRunning = notification.Snapshot.Urls; 469if (notification.Snapshot.Urls.Length > 1 && urlSnapshot == default) 471urlSnapshot = notification.Snapshot.Urls;