.NET Aspire 13: How to display confirmation message in the dashboard

Authorised Territory demonstrates how to show confirmation dialogs and notification messages in the .NET Aspire dashboard by adding a command to a Minimal API resource that calls an API endpoint, which then invokes an Azure Function.

Full summary based on transcript

Displaying confirmation and notification messages in the Aspire dashboard

The video shows how to surface user feedback in the .NET Aspire dashboard:

Adding a command to a Minimal API resource

The presenter adds a new command to a Minimal API resource so it can be triggered from the Aspire dashboard. The command is wired to invoke an HTTP endpoint.

Calling an API endpoint that triggers an Azure Function

The flow demonstrated is:

Using the interaction service

To display the confirmation dialog and notification message in the dashboard, the video uses the Aspire dashboard interaction service.

Starting point

The presenter references a starting solution in an earlier video: