Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.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:
- Real-time tracking of logs, traces, and environment configurations.
- User interface to stop, start, and restart resources.
- Collects and displays logs and telemetry; view structured logs, traces, and metrics in an intuitive UI.
- Enhanced debugging with GitHub Copilot, your AI-powered assistant built into the dashboard.
Use the dashboard with .NET Aspire projects
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 mode
The .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.0
The preceding Docker command:
- Starts a container from the
mcr.microsoft.com/dotnet/aspire-dashboard:9.0
image. - The container instance exposing two ports:
- Maps the dashboard's OTLP port
18889
to the host's port4317
. Port4317
receives OpenTelemetry data from apps. Apps send data using OpenTelemetry Protocol (OTLP). - Maps the dashboard's port
18888
to the host's port18888
. Port18888
has the dashboard UI. Navigate tohttp://localhost:18888
in the browser to view the dashboard.
- Maps the dashboard's OTLP port
For more information, see the Standalone .NET Aspire dashboard.
Configuration
The 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.
Architecture
The 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:
Security
The .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 steps
.NET Aspire