Skip to content

andrejlapajne/dotnet-aspire-starter

Repository files navigation

.NET aspire starter application

.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

Running the application

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

Screenshots

Here are a few screenshots from the running application and the .NET Aspire dashboard.

Application

Home Page

Home Page

Counter Page

Counter Page

Weather Page

Weather Page

Dashboard

Projects

Dashboard Projects

Containers

Dashboard Containers

Executables

Dashboard Executables

Logs

Logs Project

Logs API service Logs web frontend

Logs Container

Logs Container

Logs Executable

Logs Executable

Logs Structured

Logs Structured

Traces

Dashboard Traces

Metrics

Metrics API service Metrics web frontend

About

.NET aspire starter application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published