Testing with EF Core in C#: In-Memory vs SQLite for Unit Tests
Learn EF Core unit testing in .NET 10 -- UseInMemoryDatabase vs SQLite in-memory, IDbContextFactory for isolation, seeding test data, and xUnit patterns.
C# and .NET by Nick Cosentino
Practical, in-depth content for software engineers and technical leaders. Learn C#, .NET, software architecture, AI-assisted development, and engineering leadership with guidance you can apply on your team today.

The latest articles on software engineering, architecture, AI, and career growth.
Learn EF Core unit testing in .NET 10 -- UseInMemoryDatabase vs SQLite in-memory, IDbContextFactory for isolation, seeding test data, and xUnit patterns.
Interpreter pattern best practices in C# for clean grammar design, expression tree management, and avoiding common DSL pitfalls.
Optimize EF Core performance in .NET 10 -- AsNoTracking, compiled queries, split queries, bulk operations, N+1 fixes, and logging slow queries with Serilog.
Memento pattern real-world example in C# -- build a document editor with undo/redo, state history, and bounded memory management.
Go deeper into the core topics on Dev Leader, from .NET and AI to software engineering and career growth.