5 writes to Urls
Aspire.Hosting (4)
Dcp\ResourceSnapshotBuilder.cs (3)
60Urls = urls, 134Urls = urls, 156Urls = urls,
Orchestrator\ApplicationOrchestrator.cs (1)
129await _notificationService.PublishUpdateAsync(resource, s => s with { Urls = [.. urls] }).ConfigureAwait(false);
Aspire.Hosting.Tests (1)
Codespaces\CodespacesUrlRewriterTests.cs (1)
77Urls = [localhostUrlSnapshot]
22 references to Urls
Aspire.Hosting (2)
ApplicationModel\ResourceNotificationService.cs (1)
563string.Join(" ", newState.Urls.Select(u => $"{u.Name} = {u.Url}")),
Dashboard\DashboardServiceData.cs (1)
44Urls = snapshot.Urls,
Aspire.Hosting.Tests (20)
Codespaces\CodespacesUrlRewriterTests.cs (2)
84var match = re.Snapshot.Urls.Length > 0 && re.Snapshot.Urls[0].Url.Contains("app.github.dev");
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;