12 references to AspireDashboard
Aspire.Hosting (7)
Backchannel\AppHostRpcTarget.cs (1)
127
KnownResourceNames.
AspireDashboard
,
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (1)
44
if (beforeStartEvent.Model.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name, KnownResourceNames.
AspireDashboard
)) is { } dashboardResource)
Dashboard\DashboardLifecycleHook.cs (5)
58
if (appModel.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name, KnownResourceNames.
AspireDashboard
)) is { } dashboardResource)
118
dashboardResource = new ExecutableResource(KnownResourceNames.
AspireDashboard
, "dotnet", dashboardWorkingDirectory ?? "");
128
dashboardResource = new ExecutableResource(KnownResourceNames.
AspireDashboard
, fullyQualifiedDashboardPath, dashboardWorkingDirectory ?? "");
394
.Where(r => !string.Equals(r.Name, KnownResourceNames.
AspireDashboard
, StringComparisons.ResourceName))
442
if (StringComparers.ResourceName.Equals(notification.Resource.Name, KnownResourceNames.
AspireDashboard
) && !dashboardResourceTasks.ContainsKey(notification.ResourceId))
Aspire.Hosting.Tests (5)
Dashboard\DashboardLifecycleHookTests.cs (3)
53
if (item.Name.StartsWith(KnownResourceNames.
AspireDashboard
) && item.AnySubscribers)
90
var dashboardResource = model.Resources.Single(r => string.Equals(r.Name, KnownResourceNames.
AspireDashboard
, StringComparisons.ResourceName));
138
var dashboardResource = model.Resources.Single(r => string.Equals(r.Name, KnownResourceNames.
AspireDashboard
, StringComparisons.ResourceName));
Dashboard\DashboardResourceTests.cs (2)
97
var container = builder.AddContainer(KnownResourceNames.
AspireDashboard
, "my-image");
528
builder.AddProject<DashboardProject>(KnownResourceNames.
AspireDashboard
);