Automating .NET Aspire Architecture Documentation with GitHub Copilot

dotnet presents an in-depth session on using GitHub Copilot and Copilot Coding Agent to automate and maintain .NET Aspire app architecture documentation through code and DevOps workflows.

Automating .NET Aspire Architecture Documentation with GitHub Copilot

Presenter: dotnet

Session Overview

In this Level 300 hands-on session, you'll learn how to transform .NET Aspire AppHost definitions into continuously updated, accurate architecture documentation. The session focuses on reducing documentation rot and effort by streamlining the process through automation, using GitHub Copilot tools.


Key Topics Covered

Tools & Technologies

Practical Workflow Example

  1. Define architecture in .NET Aspire AppHost.
  2. Use Copilot Chat to generate diagrams/ASCII representations of the current architecture.
  3. Transform ASCII to Mermaid and visualize in VS Code with mcp-mermaid.
  4. Delegate documentation updates to Copilot Coding Agent, which creates PRs as architecture changes.
  5. Add dashboard screenshots using Playwright MCP, keeping docs visual and current.
  6. Integrate the full cycle into your CI/CD pipelines, so documentation always reflects the latest production state.

Benefits

Prerequisites

For the full session and additional .NET Conf 2025 video resources, visit: YouTube Playlist – .NET Conf 2025