Attritect.Abstractions
0.1.0-dev
See the version list below for details.
dotnet add package Attritect.Abstractions --version 0.1.0-dev
NuGet\Install-Package Attritect.Abstractions -Version 0.1.0-dev
<PackageReference Include="Attritect.Abstractions" Version="0.1.0-dev" />
<PackageVersion Include="Attritect.Abstractions" Version="0.1.0-dev" />
<PackageReference Include="Attritect.Abstractions" />
paket add Attritect.Abstractions --version 0.1.0-dev
#r "nuget: Attritect.Abstractions, 0.1.0-dev"
#:package Attritect.Abstractions@0.1.0-dev
#addin nuget:?package=Attritect.Abstractions&version=0.1.0-dev&prerelease
#tool nuget:?package=Attritect.Abstractions&version=0.1.0-dev&prerelease
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 |
No third-party dependencies. MIT licensed. Pro add-ons (Blazor admin UI, audit history, import/export) are separate commercial packages.
Documentation: the guide in the repository's docs/ folder.
| 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
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Attritect.Abstractions:
| Package | Downloads |
|---|---|
|
Attritect.Core
Core engine for Attritect: metadata, a query engine that translates to SQL, mapping, the CRUD service pipeline and tenant isolation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
See CHANGELOG.md in the repository.