Skip to the content.

Attritect

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

Built in

GitHub · NuGet · Examples · Changelog