BridgingIT.DevKit.Infrastructure.EntityFramework
10.0.129
See the version list below for details.
dotnet add package BridgingIT.DevKit.Infrastructure.EntityFramework --version 10.0.129
NuGet\Install-Package BridgingIT.DevKit.Infrastructure.EntityFramework -Version 10.0.129
<PackageReference Include="BridgingIT.DevKit.Infrastructure.EntityFramework" Version="10.0.129" />
<PackageVersion Include="BridgingIT.DevKit.Infrastructure.EntityFramework" Version="10.0.129" />
<PackageReference Include="BridgingIT.DevKit.Infrastructure.EntityFramework" />
paket add BridgingIT.DevKit.Infrastructure.EntityFramework --version 10.0.129
#r "nuget: BridgingIT.DevKit.Infrastructure.EntityFramework, 10.0.129"
#:package BridgingIT.DevKit.Infrastructure.EntityFramework@10.0.129
#addin nuget:?package=BridgingIT.DevKit.Infrastructure.EntityFramework&version=10.0.129
#tool nuget:?package=BridgingIT.DevKit.Infrastructure.EntityFramework&version=10.0.129
Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles.
Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs.
This repository includes the complete source code for the bITDevKit, along with a variety of sample applications located in the ./examples folder within the solution. These samples serve as practical demonstrations of how to leverage the capabilities of the bITDevKit in real-world scenarios. All components are available as nuget packages.
For the latest updates and release notes, please refer to the CHANGELOG.
Join us in advancing the world of software development with the bITDevKit!
Storage Dimensions
The relational blob and document providers discover their own annotated name/value tables from the existing parent navigations. IBlobStoreContext and IDocumentStoreContext require no extra sets or SQL model-builder configuration. Generate host-owned migrations separately for SQL Server, PostgreSQL, and SQLite; no backfill worker is supplied.
Each feature keeps a nullable typed snapshot on the parent and three ordinary search indexes on its value table. Names register automatically and remain retained after owner deletion. Name caches are bounded per provider instance. Recreate the provider, or quiesce operations and call ClearDimensionNameCache(), after external catalog recreation.
Dimension values are searchable database metadata in plaintext. Payload encryption does not encrypt their searchable representations. EF Cosmos is unsupported and excludes the two relational document members with modelBuilder.ExcludeDocumentDimensions().
See the blob and document guides. Volume qualification remains incomplete.
Advanced Application Caching
The optional complete EntityFramework cache provider belongs to Application.Caching. It is independent of existing minimal Common.Caching, Blob/Document Storage, and Key/Value Storage. One database contains cache metadata, indexes, payloads/chunks, source ownership, reader protection, and invalidation fences.
See the Application Caching guide for the complete context capability, source coordination, limits, and deployment procedure.
Register a consumer-owned context
using BridgingIT.DevKit.Application.Caching;
using BridgingIT.DevKit.Infrastructure.EntityFramework.Caching;
using Microsoft.Extensions.DependencyInjection;
services.AddSqlServerDbContext<CatalogDbContext>(options => options.UseConnectionString(connectionString))
.WithDbContextFactory();
services.AddApplicationCaching(cache => cache
.WithEntityFrameworkProvider<CatalogDbContext>("central")
.WithCollection<ReportSummary>("summaries", collection => collection
.UseProvider("central")
.ShareLoadsAcrossNodes()));
CatalogDbContext and ReportSummary are fictional application types. The context implements IApplicationCachingContext; the guide shows its twelve DbSet properties. A ModuleDbContextBase implementation receives the cache model automatically through that interface. A plain DbContext calls CacheModelConfiguration.Configure from OnModelCreating. The factory must create a fresh independently owned context for each bounded native call, rather than returning a request-scoped instance.
Deploy the annotated model
The runtime package contains no migrations or deployment SQL. Consumers scaffold and deploy engine-specific migrations for their own cache-capable context. The standalone CacheDbContext is an alternative when configured with a consumer-owned migrations assembly. Cache registration/requests do not create or migrate the database. Deploy first, then satisfy the configured named IDatabaseReadyService gate before provider readiness.
The twelve annotated default tables are __Caching_Stores, __Caching_Collections, __Caching_Contracts, __Caching_Keys, __Caching_Entries, __Caching_Payloads, __Caching_Chunks, __Caching_Dimensions, __Caching_Fences, __Caching_Ownerships, __Caching_Readers, and __Caching_Operations. Annotations define keys, lengths, indexes, and relationships. Provider transactions enforce publication fencing and operation revisions. Enrichment supplies canonical token conversions, physical naming, and the format seed.
CacheSchemaOptions can select bounded physical names. Changing schema/prefix requires matching host deployment artifacts; it is not a runtime rename. The immutable payload generation also identifies the public entry version, so there is no separate duplicate entry-version column. Collection counters and tracked-operation revisions protect concurrent publication and operation continuation.
Engine and execution limits
SQL Server and PostgreSQL provide shared database authority. SQLite is a local-host file profile and can coordinate local processes; do not put its database on a share or claim multi-host SQLite. SQLite native asynchronous methods can execute synchronously, and its busy timeout does not prove prompt cancellation. Actual occupied calls retain admission until they end.
Avoid EnableRetryOnFailure or another automatic mutation execution strategy for the provider's contexts. The cache owns operation IDs, conditions, and reconciliation; a consumed stream or uncertain mutation cannot be replayed blindly. Small values use the configured inline threshold, larger values use bounded immutable chunks, and metadata selection does not deserialize payloads.
A central provider alone does not select shared source coalescing. NodeLocal is the collection default. Select SharedStore when one confirmed source owner across web nodes is required. Provider authority failure then starts no new source execution. Hot retention, when enabled, still validates the database on every reuse.
Use the common provider benchmark workloads and recorded profiles for matching engine/payload/concurrency measurements. Local SQLite success does not supply SQL Server/PostgreSQL performance, network-failure, or native cancellation evidence.
Storage properties
Blob and document Properties are optional scalar metadata. Null preserves the existing bag on replacement/update, an empty bag clears it, and a non-empty bag replaces it. Inserts without properties return an empty bag. Typed .NET calls preserve the PropertyBagScalarCodec scalar types and copy byte arrays. HTTP retains ordinary JSON semantics. Transform metadata is separate from application properties. Properties are not indexed; use the separate Dimensions collections for indexed metadata queries.
The blob provider contracts and persisted blob formats have changed. Use newly created storage; this refactor supplies no migrations, backfill, or compatibility readers. See the blob guide and document guide.
Storage Dimensions
The EF blob and document providers implement independent optional Dimensions on SQL Server, PostgreSQL, and SQLite. Every accepted scalar is indexed automatically. Applications supply names and values; the database generates dictionary IDs. Standard EF annotations discover each feature's name/value tables through the parent navigations, with no new context sets or SQL model-builder calls.
Values support int, exact decimal(18,6), bool, Unicode string, UTC DateTime, and explicit null. Strings compare exactly and accept at most 256 UTF-8 bytes. SQLite supports decimal equality only; SQL Server and PostgreSQL also support decimal ranges. Inspect the effective provider capabilities before accepting Dimensions. Unsupported EF engines reject explicit Dimensions, including empty collections, before I/O. EF Cosmos document contexts use ExcludeDocumentDimensions() in their Cosmos-specific model configuration.
Omitted replacement input preserves Dimensions; empty clears them. Dimensions-only updates preserve payload bytes and use the existing whole-item ETag. Name registration, value changes, the parent snapshot, and its version commit atomically. Relational owner deletion cascades to values and content chunks while retaining dictionary names. The chunk composite primary key enforces uniqueness without a duplicate secondary index.
Runtime support is implemented; server volume qualification remains incomplete. See the blob Dimensions guide, document Dimensions guide, and implementation plan for contracts, setup, measured scaling, and remaining acceptance checks.
| 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
- BridgingIT.DevKit.Application.Auditing (>= 10.0.129)
- BridgingIT.DevKit.Application.Caching (>= 10.0.129)
- BridgingIT.DevKit.Application.Entities (>= 10.0.129)
- BridgingIT.DevKit.Application.Identity (>= 10.0.129)
- BridgingIT.DevKit.Application.Jobs (>= 10.0.129)
- BridgingIT.DevKit.Application.Messaging (>= 10.0.129)
- BridgingIT.DevKit.Application.Notifications (>= 10.0.129)
- BridgingIT.DevKit.Application.Orchestrations (>= 10.0.129)
- BridgingIT.DevKit.Application.Queueing (>= 10.0.129)
- BridgingIT.DevKit.Application.Storage (>= 10.0.129)
- BridgingIT.DevKit.Application.Utilities (>= 10.0.129)
- BridgingIT.DevKit.Common.Options (>= 10.0.129)
- BridgingIT.DevKit.Common.Serialization (>= 10.0.129)
- BridgingIT.DevKit.Common.Utilities (>= 10.0.129)
- BridgingIT.DevKit.Domain (>= 10.0.129)
- BridgingIT.DevKit.Domain.Mediator (>= 10.0.129)
- BridgingIT.DevKit.Domain.Outbox (>= 10.0.129)
- Cronos (>= 0.13.0)
- CsvHelper (>= 33.1.0)
- Ensure.That (>= 10.1.0)
- FluentValidation (>= 12.2.0)
- Humanizer.Core (>= 3.0.10)
- MailKit (>= 5.0.0)
- Mapster (>= 10.0.14)
- Mapster.DependencyInjection (>= 10.0.14)
- MediatR (= 12.5.0)
- MediatR.Contracts (= 2.0.1)
- MessagePack (>= 3.1.12)
- Microsoft.AspNetCore.Authorization (>= 10.0.15)
- Microsoft.AspNetCore.DataProtection (>= 10.0.15)
- Microsoft.Data.SqlClient (>= 7.1.2)
- Microsoft.EntityFrameworkCore (>= 10.0.15)
- Microsoft.EntityFrameworkCore.InMemory (>= 10.0.15)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.15)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Caching.Memory (>= 10.0.15)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Http (>= 10.0.15)
- Microsoft.Extensions.Localization.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Logging (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Options (>= 10.0.15)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.15)
- Microsoft.Extensions.Resilience (>= 10.11.1)
- Microsoft.Extensions.TimeProvider.Testing (>= 10.11.1)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.23.0)
- MimeKit (>= 5.0.0)
- NewId (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.4)
- Scrutor (>= 4.2.2 && < 5.0.0)
- Serilog (>= 4.4.0)
- SharpCompress (>= 0.50.11)
- System.Formats.Cbor (>= 10.0.15)
- System.IdentityModel.Tokens.Jwt (>= 8.23.0)
- System.Linq.Dynamic.Core (>= 1.7.4)
- System.Security.Cryptography.Pkcs (>= 10.0.15)
- System.Threading.RateLimiting (>= 10.0.15)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on BridgingIT.DevKit.Infrastructure.EntityFramework:
| Package | Downloads |
|---|---|
|
BridgingIT.DevKit.Infrastructure.EntityFramework.Outbox
bITdevKit: Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles. Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs. |
|
|
BridgingIT.DevKit.Infrastructure.EntityFramework.SqlServer
bITdevKit: Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles. Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs. |
|
|
BridgingIT.DevKit.Infrastructure.EntityFramework.Cosmos
bITdevKit: Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles. Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs. |
|
|
BridgingIT.DevKit.Infrastructure.EntityFramework.EventSourcing
bITdevKit: Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles. Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs. |
|
|
BridgingIT.DevKit.Infrastructure.EntityFramework.Sqlite
bITdevKit: Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles. Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.130 | 0 | 11/24/2026 |
| 10.0.129 | 0 | 11/24/2026 |
| 10.0.124 | 205 | 11/15/2026 |
| 10.0.123 | 218 | 11/10/2026 |
| 10.0.119 | 303 | 10/27/2026 |
| 10.0.118 | 180 | 10/27/2026 |
| 10.0.117 | 195 | 10/27/2026 |
| 10.0.117-preview.0.1 | 104 | 10/27/2026 |
| 10.0.116 | 176 | 10/27/2026 |
| 10.0.116-preview.0.2 | 100 | 10/27/2026 |
| 10.0.116-preview.0.1 | 100 | 10/27/2026 |
| 10.0.115 | 185 | 10/27/2026 |
| 10.0.115-preview.0.17 | 106 | 10/27/2026 |
| 10.0.115-preview.0.15 | 109 | 10/27/2026 |
| 10.0.115-preview.0.14 | 105 | 10/27/2026 |
| 10.0.115-preview.0.12 | 99 | 10/25/2026 |
| 10.0.115-preview.0.11 | 99 | 10/25/2026 |
| 10.0.115-preview.0.10 | 102 | 10/25/2026 |
| 10.0.115-preview.0.8 | 105 | 10/25/2026 |
| 10.0.115-preview.0.7 | 110 | 10/25/2026 |
