Multiple DbContext in EF Core 10 - Scenarios, Setup & Migrations
When and how to use multiple DbContext in EF Core 10. Multi-database setup, schema separation, migrations, transactions, and modular monolith patterns.
Showing 49-60 of 153 articles
When and how to use multiple DbContext in EF Core 10. Multi-database setup, schema separation, migrations, transactions, and modular monolith patterns.
Implement soft deletes in EF Core 10 using SaveChangesInterceptor, named query filters, cascade soft delete, undo/restore, and filtered unique indexes in .NET 10.
Master global query filters in EF Core 10 with named filters, soft delete, multi-tenancy, IgnoreQueryFilters, and performance tips.
Model real relationships in EF Core - one-to-one, one-to-many, and many-to-many with Fluent API. Code examples, cascade delete behavior, and the pitfalls to avoid.
Entity configuration is where your domain meets the database. Learn Fluent API in EF Core 10 - why it beats Data Annotations for complex scenarios, how to organize configurations with IEntityTypeConfiguration, configure complex relationships, and avoid common mistakes.
.NET 10 generates OpenAPI 3.1 natively via Microsoft.AspNetCore.OpenApi - no Swashbuckle. Compare native OpenAPI vs Scalar vs Swashbuckle vs NSwag with a decision matrix and real config samples.
Comprehensive Docker guide for .NET 10 developers. Containerize .NET apps, multi-stage builds, Docker Compose with PostgreSQL, and SDK-based containerization without a Dockerfile.
Learn 5 ways to apply EF Core 10 migrations: CLI, Migrate(), SQL scripts, migration bundles, and EnsureCreated. Includes a decision matrix and production checklist.
MediatR went commercial. Build your own CQRS dispatcher in .NET 10 with pipeline behaviors, AOT support, and a FrozenDictionary core that benchmarks 4x faster than MediatR.
Master HybridCache in ASP.NET Core .NET 10. BenchmarkDotNet results, stampede protection demo, tag-based invalidation, Redis L2 setup, and migration from IDistributedCache.
Implement distributed caching in ASP.NET Core with Redis and .NET 10. Docker setup, IDistributedCache extensions, BenchmarkDotNet results, and HybridCache migration path.
Master in-memory caching in ASP.NET Core with .NET 10. BenchmarkDotNet results, IMemoryCache deep dive, cache invalidation, and decision matrix vs Redis and HybridCache.