EricksonLopez.SharedKernel Overview
EricksonLopez.SharedKernel (4.0.0 on NuGet, L1) supplies Domain-Driven Design base types (Entity<TId>, AuditableEntity<TId>, AggregateRoot<TId>, AuditableAggregateRoot<TId>, DomainEvent), lazy domain-event buffering, and AOT-safe adapters for EF Core, Dapper, System.Text.Json, and OpenTelemetry.
Package Roster & Publication Status (7 / 8 Published)
Section titled “Package Roster & Publication Status (7 / 8 Published)”| Package | NuGet Status | AOT Status | Role |
|---|---|---|---|
EricksonLopez.SharedKernel |
Published (4.0.0) |
Full |
Entity<TId>, AggregateRoot<TId>, DomainEvent, OperationTimeContext |
EricksonLopez.SharedKernel.EntityFrameworkCore |
Published (4.0.0) |
Full |
DomainEventsInterceptor, ConfigureStrongId<TId, TValue>(), EntityEqualityComparer<TId> |
EricksonLopez.SharedKernel.Dapper |
Published (4.0.0) |
Full |
DapperStrongIdRegistry, DapperBclTypeHandlerRegistry, StrongIdTypeHandler |
EricksonLopez.SharedKernel.Json |
Published (4.0.0) |
Full |
StrongIdJsonConverter<TSelf, TValue>, StrongIdJsonConverterFactory |
EricksonLopez.SharedKernel.OpenTelemetry |
Published (4.0.0) |
Full |
AddSharedKernelInstrumentation(), OpenTelemetryDomainEventDispatcher |
EricksonLopez.SharedKernel.Testing |
Published (4.0.0) |
Full |
DomainEventCollector, AggregateRootTestExtensions |
EricksonLopez.SharedKernel.SourceGenerators |
Published (4.0.0) |
NotApplicable |
MetadataSourceGenerator, DapperRegistrationGenerator |
EricksonLopez.SharedKernel.Persistence |
Unpublished (Local Only 5.0.1) |
Full |
[Table], [Column], [TenantScoped], [Audit] metadata descriptors |
Publication Note: Although
EricksonLopez.SharedKernel.Persistenceis referenced in local5.0.1sources, live NuGet.org verification confirms 0 published versions (nugetVersion: null). Do not add a NuGet<PackageReference>for.Persistence.
Verified RyuJIT Benchmarks (.NET 10.0.10/.12)
Section titled “Verified RyuJIT Benchmarks (.NET 10.0.10/.12)”Excluding 31 na_error rows and 4 stale v1 ResultBenchmarks artifacts, the 18 valid measured SharedKernel rows on X64 RyuJIT show:
SharedKernelBenchmarks.AggregateDomainEventsAccessNoEvents: 0.0114 ns / 0 B (lazy backing remainsnulluntil an event is raised)SharedKernelBenchmarks.AggregateDrainDomainEvents_NoEvents: 0.3433 ns / 0 BAggregateHydrationBenchmarks.EricksonLopez_AggregateHydration_ZeroEvents: 3.6 ns / 40 B