Alternatives to Metalama

This section analyzes alternatives to Metalama for several applications. It tries to fairly present the pros and cons of each approach.

ApplicationAlternatives
Aspect-oriented programmingMSIL rewriting, middleware-based run-time approaches, and Roslyn-based frameworks.
Code generationPre-build scripts, T4, MSIL rewriting, run-time generation, Roslyn code generators, Generative AI.
Architecture verificationCode analyzers, architectural unit tests, custom Roslyn analyzers, custom scripts.