New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

Metalama.Framework

Package Overview
Dependencies
Maintainers
1
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Metalama.Framework

A Roslyn-based meta-programming framework for code generation, architecture validation and aspect-oriented programming in C#.

nugetNuGet
Version
2026.0.20
Version published
Maintainers
1
Created
Source

Metalama Logo

A Roslyn-based meta-programming framework for code generation, architecture validation and aspect-oriented programming in C#.

Metalama lets you write cleaner, more maintainable .NET code by automating repetitive patterns at compile time using aspects, templates, and compile-time logic. It integrates tightly with the Roslyn compiler, providing full control over how your code is built.

Why Metalama?

  • Write and maintain less code: Eliminate boilerplate by generating it dynamically during compilation, reducing code lines and bugs by up to 15%.
  • Validate your codebase in real time: Enforce adherence to design rules and conventions without waiting for code reviews.
  • Excel with large, complex, or legacy codebases: Metalama shines at scale and does not require architectural changes.

When to use it?

Metalama is ideal for:

  • Large projects: Automate repetitive patterns across dozens of entities and hundreds of properties or methods.
  • Large teams: Align developers on consistent patterns and practices.
  • Long lifecycle projects: Maintain quality over years of development.

It's main use cases are:

License

Metalama is released under the MIT license.

Some optional extensions and IDE tooling are released under a proprietary license. 💎

Features

Resources

Quick Start

  • Add the Metalama.Framework package to your project:

    dotnet add package Metalama.Framework
    
  • Optionally, install Metalama Tools for Visual Studio Extension. It's free for individuals, non-commercial uses, and companies with up to 3 users.

  • Explore the Metalama Marketplace for ready-made aspects or examples.

  • Follow the Getting Started guide to create your first aspect.

Building Metalama from Source

Please check instructions here.

Contributing

We welcome contributions! Here's how you can help:

For more details, see Contributing to Metalama.

Support & Community

Keywords

metalama

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts