Skip to main content

Running .NET Aspire

To run our API through .NET Aspire, all we need to do is run the AppHost project.

Simply using your IDE or dotnet run.

The Dashboard

The first thing that pops up when we run the AppHost is the Aspire Dashboard. The Dashboard is not .NET specific, and it is built to "understand" OpenTelemetry. .NET is already deeply orchestrated with OpenTelemetry. Let's take a look at some data.

Resources

The resources page contains all the resources that are part of our distributes system. For now, it only contains our API, but we will be changing that soon.

Console

The console page allows us to see the console logs of any application that exposes them. For now, we can only see our application's logs.

Structured

The structured page allows us to see the structured logs of our apps. This includes scopes and spans.

Metrics

The metrics pages allows us to visualize metrics that our application is exposing, such as active connections, request duration and more.