This chapter is designed for developers who want to use aspects without creating new ones. If that's your goal, you can stop reading after this chapter. However, if you aim to create aspects, starting with this chapter is still beneficial as it introduces core principles and techniques.
By the end of this chapter, you'll feel confident using aspects in your codebase.
Who should read this chapter?
This chapter is recommended for those who:
- Have recently joined a team that's already using Metalama.
- Plan to use ready-made aspects but don't intend to create their own.
- Intend to create their own aspects in the future, but prefer a gradual approach.
In this chapter
| Article | Description |
|---|---|
| Getting aspects | Outlines where to obtain aspects and lists sample aspects used throughout this chapter. |
| Adding aspects to your code | Details how to apply aspects manually by adding attributes or through the refactoring menu. |
| Understanding your aspect-oriented code | Explains how to use Code Lens and Code Diff to understand your code. |
| Debugging aspect-oriented code | Provides guidance on debugging transformed code using Visual Studio. |
| Using live templates | Shows how to use live templates, which modify your source code directly in the editor. |
| Adding many aspects simultaneously | Demonstrates how to use fabrics to programmatically add aspects to many targets at once. |
| Configuring your IDE | Explains how to configure Visual Studio, VS Code, and Rider for the best Metalama experience. |