Attritect documentation
Describe a model with attributes; get a full CRUD API, a page schema for UIs, validation, search, paging, multi-tenancy, permissions and soft delete, with no controller and no per-page view.
Start here: Why Attritect (how much code and time it saves) and Which packages do I need? (what each package does, required vs optional, per layer). Also: Security by design (what the engine enforces, with its tests) and the roadmap.
Guide
| Page | What it covers | |
|---|---|---|
| 1 | Getting started | Packages, a first page, running it |
| 2 | Pages and attributes | [CrudPage], columns, fields, search, filters, unique, computed values, read models |
| 3 | Lookups, parents and row actions | Foreign keys as dropdowns, master-detail pages, custom actions |
| 4 | HTTP API | Every endpoint, the query syntax, errors |
| 5 | Rules: events, behaviors, overrides | Page events, cross-page handlers, behaviors, overriding one method |
| 6 | Security and multi-tenancy | Permissions, the host role, tenants, tenant databases, read replicas |
| 7 | Delete, restore and audit fields | Hard/soft delete, restore, purge, IFullAudited, the EF filter |
| 8 | Localization | Arabic/English, right-to-left, Hijri dates |
| 9 | Compile-time checks and generated names | Analyzers CRUD001–CRUD017 with quick fixes, the page catalog, CrudPages.* |
| 10 | Clean Architecture | Which package goes in which layer |
| 11 | Packages | What each package does, required vs optional, what to install per layer |
More
- Design: the full design, decisions and roadmap.
- Releasing: versions, package checks and publishing.
- Examples: the separate
Attritect.Examplesrepository (Clean Architecture, database-first). - Pro packages (Blazor admin UI, audit history, import/export, licensing): documented in the
Attritect.Prorepository.