A live architecture diagram with three lines of code
You already describe your distributed application in Aspire and do not want to maintain a separate architecture diagram that drifts from reality.
var builder = DistributedApplication.CreateBuilder(args);
builder.AddAspireC4();
builder.Build().Run(); What you get: AspireC4 writes the generated LikeC4 model, starts the LikeC4 sidecar, and refreshes the diagram whenever the Aspire application changes.
The diagram is derived from the running resource graph, so it cannot silently fall out of date the way a hand-drawn one can.
Read the guide →