> Markdown version of [/events/world-congress-2025/sessions/875-use-your-source-code](https://www.wearedevelopers.com/events/world-congress-2025/sessions/875-use-your-source-code). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Use your source code to document your application - **Date:** Friday, Jul 11, 2025 - **Time:** 14:30–16:30 (120 min) - **Room:** M4 (40 Seats) - **Event:** World Congress 2025 ## Description For many development teams, writing and updating documentation can feel like a chore, especially when the codebase changes frequently. While developers often consider the source code as its own documentation, this perspective might not resonate with all stakeholders. Moreover, the source code might not adequately illustrate how different components interact. What if we could transform our source code into comprehensive documentation that benefits both the team and stakeholders? In this session, we will explore how to leverage Roslyn to generate documentation directly from your .NET source code. We'll delve into creating diagrams that depict the structure and relationships within an aggregate and sequence diagrams that illustrate the flow throughout the application. We'll render these using file formats such as PlantUML, Mermaid, and Markdown. ## Speaker ### [Michaël Hompus](https://www.wearedevelopers.com/@michael-hompus) Architect @ Info Support | Microsoft MVP ## Related talks at this congress - [AI-Powered Code Documentation: Simplify the Complex](https://www.wearedevelopers.com/events/world-congress-2025/sessions/719-ai-powered-code) — Patrick Schnell - [Kalo: From Code Chaos to One-Click Polyglot Codegen](https://www.wearedevelopers.com/events/world-congress-2025/sessions/596-kalo-from-code-chaos) — Brennan Nunamaker - [What you can learn from an open-source project with 500 million downloads](https://www.wearedevelopers.com/events/world-congress-2025/sessions/681-what-you-can-learn) — Dennis Doomen - [Code Red: When Your Tools Turn Against You ](https://www.wearedevelopers.com/events/world-congress-2025/sessions/510-code-red-when-your) — Aaron Bray, Julian Totzek-Hallhuber