The architecture engine for attribute-driven .NET apps. Describe a model with attributes; Attritect gives you the full CRUD API with search, sorting, paging, validation, permissions, multi-tenancy, soft delete and audit fields, plus a page schema any UI can render. Free and open source (MIT), .NET 10, no third-party dependencies.
dotnet new install Attritect.Templates
dotnet new attritect-cleanarch -n MyApp # or attritect-minimal, attritect-ntier, attritect-ddd
dotnet run --project MyApp/src/MyApp.Web
[CrudPage("products", Entity = typeof(Product), Title = "Products")]
public class ProductModel
{
public int Id { get; set; }
[Grid(Sortable = true), Search(Op.Contains), Field, Required, SafeText(100), Unique]
public string Name { get; set; } = "";
}
Start here
- Why Attritect: how much code and time it saves
- Getting started and which packages you need
- The full guide: pages, relations, the HTTP API, rules, security, localization, compile-time checks
- Security by design: what the engine enforces, with the tests that check it
- Roadmap
Built in
- Security in the engine: deny by default, tenant isolation, forged-tenant protection, restricted fields, row rules.
- Multi-language: every text translatable, one API for all languages, right to left. Built-in Arabic.
- Hijri calendar (Umm al-Qura) and Arabic-aware search.
- AI-ready: rules and skills for Claude Code, Cursor, GitHub Copilot and Windsurf; compile-time checks catch mistakes at build time.
- Templates for Clean Architecture, N-tier and DDD.