Attritect.Permissions
0.2.0
dotnet add package Attritect.Permissions --version 0.2.0
NuGet\Install-Package Attritect.Permissions -Version 0.2.0
<PackageReference Include="Attritect.Permissions" Version="0.2.0" />
<PackageVersion Include="Attritect.Permissions" Version="0.2.0" />
<PackageReference Include="Attritect.Permissions" />
paket add Attritect.Permissions --version 0.2.0
#r "nuget: Attritect.Permissions, 0.2.0"
#:package Attritect.Permissions@0.2.0
#addin nuget:?package=Attritect.Permissions&version=0.2.0
#tool nuget:?package=Attritect.Permissions&version=0.2.0
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
- Documentation: getting started, pages, security, localization
- Which packages do I need?
- Examples and changelog
No third-party dependencies. MIT licensed. Attritect Pro (Blazor admin UI, audit history, Excel import/export) is coming as separate commercial packages.
| Product | Versions 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. |
-
net10.0
- Attritect.EntityFrameworkCore (>= 0.2.0)
- Microsoft.EntityFrameworkCore (>= 10.0.15)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Localization.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
NuGet packages
This package is not used by any NuGet packages.
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 | 57 | 12/1/2026 |
See CHANGELOG.md in the repository.