| uid | index |
|---|---|
| level | 100 |
| summary | Guidance on navigating the Metalama documentation, a framework for enhancing C# code quality and productivity through code generation and analysis. |
| keywords | C# code quality, productivity, code generation, analysis framework, Metalama documentation, aspects, develop aspects, getting started, API documentation, tutorial videos |
| created-date | 2023-02-17 |
| modified-date | 2025-11-30 |
Welcome to the documentation of Metalama, a code generation and analysis framework for C#.
There are two types of Metalama users:
- If you're using aspects written by others, start with xref:using-metalama.
- If you're developing your own aspects, start with xref:main-getting-started for a quick overview, then move to xref:using-metalama and continue to xref:simple-aspects.
Each article has a complexity level: 100, 200, or 300, following the U.S. school system. Before reading a level 200 article, make sure you understand level 100. We avoid adding complex details to basic-level articles. You may need to read several articles to get comprehensive information on a topic.
| Book | Description |
|---|---|
| xref:main-getting-started | A quick "Hello, world" walkthrough showing how to create a logging aspect and apply a simple architecture validation rule. |
| xref:conceptual | Comprehensive reference documentation. |
| xref:samples | Commented examples with varying complexity. |
| xref:api | API documentation generated from source code. |
If you have any questions, start a discussion on GitHub.
The source code for this documentation (excluding the API documentation) is open-source and hosted at https://github.com/metalama/Metalama.Documentation. You can:
- Open an issue or
- Submit a PR with your proposed improvements.
[!div class="see-also"]
xref:main-getting-started xref:conceptual xref:using-metalama xref:aspects
