8 references to AspireDashboard
Aspire.Hosting (8)
Backchannel\AppHostRpcTarget.cs (1)
118
KnownResourceNames.
AspireDashboard
,
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (1)
39
if (beforeStartEvent.Model.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name, KnownResourceNames.
AspireDashboard
)) is { } dashboardResource)
Dashboard\DashboardLifecycleHook.cs (5)
54
if (appModel.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name, KnownResourceNames.
AspireDashboard
)) is { } dashboardResource)
114
dashboardResource = new ExecutableResource(KnownResourceNames.
AspireDashboard
, "dotnet", dashboardWorkingDirectory ?? "");
124
dashboardResource = new ExecutableResource(KnownResourceNames.
AspireDashboard
, fullyQualifiedDashboardPath, dashboardWorkingDirectory ?? "");
325
.Where(r => !string.Equals(r.Name, KnownResourceNames.
AspireDashboard
, StringComparisons.ResourceName))
373
if (StringComparers.ResourceName.Equals(notification.Resource.Name, KnownResourceNames.
AspireDashboard
) && !dashboardResourceTasks.ContainsKey(notification.ResourceId))
DistributedApplicationBuilder.cs (1)
406
throw new DistributedApplicationException($"The dashboard resource '{KnownResourceNames.
AspireDashboard
}' does not have endpoints.");