Attritect.EntityFrameworkCore 0.2.0

dotnet add package Attritect.EntityFrameworkCore --version 0.2.0
                    
NuGet\Install-Package Attritect.EntityFrameworkCore -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Attritect.EntityFrameworkCore" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Attritect.EntityFrameworkCore" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Attritect.EntityFrameworkCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Attritect.EntityFrameworkCore --version 0.2.0
                    
#r "nuget: Attritect.EntityFrameworkCore, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Attritect.EntityFrameworkCore@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Attritect.EntityFrameworkCore&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Attritect.EntityFrameworkCore&version=0.2.0
                    
Install as a Cake Tool

Attritect

The architecture engine for attribute-driven .NET apps.

An attribute-driven CRUD engine for .NET 10. Describe a model with attributes; get a full API (list, search, sort, paging, create, update, delete), a JSON page schema for any UI, validation, lookups, master-detail, multi-tenancy, permissions, soft delete and audit fields, with no controller and no per-page view.

[CrudPage("nationalities", Entity = typeof(Nationality))]
public class NationalityModel
{
    public int Id { get; set; }

    [Grid(Sortable = true), Search(Op.Contains), Field, Required, SafeText(100), Unique]
    public string Name { get; set; } = "";
}

builder.Services
    .AddCrudEngine(o => o.AddPagesFrom(typeof(NationalityModel).Assembly))
    .UseEntityFrameworkCore<AppDbContext>()
    .AddHttpApi();

app.MapCrudEngine();   // GET/POST /api/crud/nationalities, GET/PUT/DELETE /api/crud/nationalities/{id}, .../schema

Packages

Package Layer Contains
Attritect.Contracts Domain ISoftDelete, IFullAudited, ... (interfaces only)
Attritect.Abstractions Application Attributes, events, behaviors, page schema; compile-time checks and generator
Attritect.Core Application (optional) The engine, for overriding any step
Attritect.EntityFrameworkCore Infrastructure EF Core store, audit-field interceptor, soft-delete filter
Attritect.AspNetCore Api HTTP API, claims permissions, tenant from the request
Attritect.Permissions Infrastructure (optional) Roles and permissions in your database, with pages to manage them

Also built in: Arabic and multi-language support (translations, right to left, Hijri dates, Arabic-aware search), compile-time checks, and an AI kit so coding assistants follow Attritect's rules.

Get started

dotnet new install Attritect.Templates
dotnet new attritect-cleanarch -n MyApp      # or attritect-minimal, attritect-ntier, attritect-ddd

No third-party dependencies. MIT licensed. Attritect Pro (Blazor admin UI, audit history, Excel import/export) is coming as separate commercial packages.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Attritect.EntityFrameworkCore:

Package Downloads
Attritect.Permissions

Database roles and permissions for Attritect: role, role-permission and user-role tables with pages to manage them, and a permission check that combines them with claims.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 0 12/5/2026
0.1.0-preview.1 68 12/1/2026

See CHANGELOG.md in the repository.