5 writes to Urls
Aspire.Hosting (4)
Dcp\ResourceSnapshotBuilder.cs (3)
60
Urls
= urls,
134
Urls
= urls,
156
Urls
= urls,
Orchestrator\ApplicationOrchestrator.cs (1)
129
await _notificationService.PublishUpdateAsync(resource, s => s with {
Urls
= [.. urls] }).ConfigureAwait(false);
Aspire.Hosting.Tests (1)
Codespaces\CodespacesUrlRewriterTests.cs (1)
77
Urls
= [localhostUrlSnapshot]
22 references to Urls
Aspire.Hosting (2)
ApplicationModel\ResourceNotificationService.cs (1)
563
string.Join(" ", newState.
Urls
.Select(u => $"{u.Name} = {u.Url}")),
Dashboard\DashboardServiceData.cs (1)
44
Urls = snapshot.
Urls
,
Aspire.Hosting.Tests (20)
Codespaces\CodespacesUrlRewriterTests.cs (2)
84
var match = re.Snapshot.
Urls
.Length > 0 && re.Snapshot.
Urls
[0].Url.Contains("app.github.dev");
DistributedApplicationTests.cs (8)
184
Assert.Collection(notStartedResourceEvent.Snapshot.
Urls
, u =>
190
Assert.Collection(dependentResourceEvent.Snapshot.
Urls
, u =>
200
Assert.Collection(runningResourceEvent.Snapshot.
Urls
, u =>
208
Assert.Collection(dependentResourceRunningEvent.Snapshot.
Urls
, u =>
255
Assert.Collection(notStartedResourceEvent.Snapshot.
Urls
, u =>
260
Assert.Collection(dependentResourceEvent.Snapshot.
Urls
, u =>
274
Assert.Collection(runningResourceEvent.Snapshot.
Urls
, u =>
281
Assert.Collection(dependentRunningResourceEvent.Snapshot.
Urls
, u =>
WithUrlsTests.cs (10)
340
if (notification.Snapshot.
Urls
.Length > 0 && initialUrlSnapshot == default)
342
initialUrlSnapshot = notification.Snapshot.
Urls
;
376
if (notification.Snapshot.
Urls
.Length > 0 && initialUrlSnapshot == default)
378
initialUrlSnapshot = notification.Snapshot.
Urls
;
416
if (notification.Snapshot.
Urls
.Length > 0 && initialUrlSnapshot == default)
418
initialUrlSnapshot = notification.Snapshot.
Urls
;
424
if (notification.Snapshot.
Urls
.Length > 0 && urlSnapshotAfterRunning == default)
426
urlSnapshotAfterRunning = notification.Snapshot.
Urls
;
469
if (notification.Snapshot.
Urls
.Length > 1 && urlSnapshot == default)
471
urlSnapshot = notification.Snapshot.
Urls
;