.NET Aspire default starter application template as presented in the getting started page. The default .NET Aspire starter application template provisions the following 4 projects:
- ApiService: an API backend service, containing in this example the weather forecast endpoint
- AppHost: the .NET Aspire host, that defines the orchestration between the services
- ServiceDefaults: a .NET Aspire shared project example, that illustrates how to share a common configuration between all services, such as telemetry, logging, etc.
- Web: a Blazor UI web application for the frontend, that invokes the backend services
As stated on the getting started page, simply run the following command (requires .NET 8 to be installed first):
dotnet run --project dotnet-aspire-starter/dotnet-aspire-starter.AppHost
Here are a few screenshots from the running application and the .NET Aspire dashboard.