ControlId.Net.Push.EntityFrameworkCore
0.9.0-alpha.1
See the version list below for details.
dotnet add package ControlId.Net.Push.EntityFrameworkCore --version 0.9.0-alpha.1
NuGet\Install-Package ControlId.Net.Push.EntityFrameworkCore -Version 0.9.0-alpha.1
<PackageReference Include="ControlId.Net.Push.EntityFrameworkCore" Version="0.9.0-alpha.1" />
<PackageVersion Include="ControlId.Net.Push.EntityFrameworkCore" Version="0.9.0-alpha.1" />
<PackageReference Include="ControlId.Net.Push.EntityFrameworkCore" />
paket add ControlId.Net.Push.EntityFrameworkCore --version 0.9.0-alpha.1
#r "nuget: ControlId.Net.Push.EntityFrameworkCore, 0.9.0-alpha.1"
#:package ControlId.Net.Push.EntityFrameworkCore@0.9.0-alpha.1
#addin nuget:?package=ControlId.Net.Push.EntityFrameworkCore&version=0.9.0-alpha.1&prerelease
#tool nuget:?package=ControlId.Net.Push.EntityFrameworkCore&version=0.9.0-alpha.1&prerelease
ControlId.Net
An unofficial, fully typed .NET SDK for Control iD hardware: the access control line (iDAccess, iDFlex, iDFace, iDBox, iDUHF) and the REP iDClass time clocks, with an AFD parser for Portaria 671/2021.
SDK .NET não oficial e tipado para equipamentos Control iD: linha de acesso e REP iDClass, com parser de AFD da Portaria 671/2021. Guia completo em português.
Packages
| Package | Purpose |
|---|---|
ControlId.Net |
AccessClient, RepClient, AFD parser, Push and Monitor models |
ControlId.Net.DependencyInjection |
AddControlIdAccess / AddControlIdRep, many devices from appsettings.json |
ControlId.Net.AspNetCore |
Push, Monitor and Online mode endpoints for ASP.NET Core (net8.0+), closed by default (Bearer token) |
ControlId.Net.Push.EntityFrameworkCore |
Durable Push command queue on EF Core (net10.0) |
Quick start
using ControlId.Access;
using var device = new AccessClient("http://192.168.0.129", "admin", "admin");
var id = await device.CreateUserAsync(new AccessUser { Name = "Maria", Registration = "1020" });
await device.OpenDoorAsync(door: 1);
var logs = await device.GetAccessLogsAsync(afterId: 0, limit: 100);
using ControlId.Rep;
using ControlId.Rep.Afd;
// TLS is validated: pin the fingerprint of the self-signed certificate
// (read it once with ControlIdCertificates.GetServerCertificateSha256Async).
using var rep = new RepClient("https://192.168.0.130", mode: RepMode.Portaria671,
serverCertificateSha256: "AB:CD:EF:...");
AfdFile afd = await rep.GetAfdFileFromNsrAsync(1);
foreach (var punch in afd.Punches)
{
Console.WriteLine($"{punch.Nsr} {punch.Time:yyyy-MM-dd HH:mm} {punch.EmployeeId}");
}
// ASP.NET Core: callbacks answer 401 without a token; write the same token to the device with ConfigureCallbackSecurityAsync.
builder.Services.AddControlIdMonitor<AccessLogHandler>();
app.MapControlIdMonitor().RequireControlIdToken(callbackToken);
Links
- Project page, architecture and roadmap
- Usage guide (Portuguese)
- API coverage matrix
- Changelog, including breaking changes and how to migrate
- Security notes
Independent project, not affiliated with Control iD. "Control iD", "iDAccess", "iDFlex", "iDFace" and "iDClass" are trademarks of Control iD. Licensed under MIT.
| 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
- ControlId.Net (>= 0.9.0-alpha.1)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.13)
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.10.0-alpha.1 | 49 | 11/20/2026 |
| 0.9.0-alpha.1 | 45 | 11/20/2026 |
| 0.8.0-alpha.1 | 84 | 11/14/2026 |