.NET Aspire project templates include a sophisticated dashboard for comprehensive app monitoring and inspection. The dashboard is also available in standalone mode.
The dashboard enables real-time tracking of key aspects of your app, including logs, traces, and environment configurations. It's designed to enhance the development experience by providing a clear and insightful view of your app's state and structure.
Key features of the dashboard include:
The dashboard is integrated into the .NET Aspire *.AppHost. During development the dashboard is automatically launched when you start the project. It's configured to display the .NET Aspire project's resources and telemetry.
For more information about using the dashboard during .NET Aspire development, see Explore dashboard features.
Standalone modeThe .NET Aspire dashboard is also shipped as a Docker image and can be used standalone, without the rest of .NET Aspire. The standalone dashboard provides a great UI for viewing telemetry and can be used by any application.
docker run --rm -it -p 18888:18888 -p 4317:18889 -d --name aspire-dashboard \
mcr.microsoft.com/dotnet/aspire-dashboard:9.4
docker run --rm -it -p 18888:18888 -p 4317:18889 -d --name aspire-dashboard `
mcr.microsoft.com/dotnet/aspire-dashboard:9.4
The preceding Docker command:
mcr.microsoft.com/dotnet/aspire-dashboard:9.4
image.18889
to the host's port 4317
. Port 4317
receives OpenTelemetry data from apps. Apps send data using OpenTelemetry Protocol (OTLP).18888
to the host's port 18888
. Port 18888
has the dashboard UI. Navigate to http://localhost:18888
in the browser to view the dashboard.For more information, see the Standalone .NET Aspire dashboard.
ConfigurationThe dashboard is configured when it starts up. Configuration includes frontend and OTLP addresses, the resource service endpoint, authentication, telemetry limits and more.
For more information, see .NET Aspire dashboard configuration.
ArchitectureThe dashboard user experience is built with a variety of technologies. The frontend is built with ð¦ Grpc.AspNetCore NuGet package to the resource server. Consider the following diagram that illustrates the architecture of the .NET Aspire dashboard:
SecurityThe .NET Aspire dashboard offers powerful insights to your apps. The UI displays information about resources, including their configuration, console logs and in-depth telemetry.
Data displayed in the dashboard can be sensitive. For example, configuration can include secrets in environment variables, and telemetry can include sensitive runtime data. Care should be taken to secure access to the dashboard.
For more information, see .NET Aspire dashboard security considerations.
Next stepsExplore the .NET Aspire dashboard
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4