Newsletter

Get the Thursday issue.

One focused C# tutorial. Free, and easy to leave.

  • 4,000+ engineers
  • 100+ tutorials

Writing

All posts

Practical C#, .NET, and ASP.NET Core tutorials.

31 posts in EF Core

Oct 22, 2026 · 7 min

Connect database to AI with Devart MCP in ASP.NET Core

Devart MCP Server Universal bridges your database to AI, letting assistants turn natural language questions into accurate EF Core code by querying the real schema and data.

Oct 15, 2026 · 6 min

MongoDB with EF Core

Use MongoDB with the familiar EF Core model. Install MongoDB.EntityFrameworkCore, call UseMongoDB and keep DbContext, LINQ and SaveChanges while storing documents.

Oct 1, 2026 · 7 min

Specification Pattern with EF Core

Query specifications encapsulate Where, Include, OrderBy and paging for EF Core. Not the classic GoF IsSatisfiedBy pattern. Build your own or use Ardalis.Specification.

Sep 10, 2026 · 6 min

Smart Enums in ASP.NET Core

C# enums are lightweight but limited. Smart enums give you type-safe instances with FromId, FromName and List, plus clean EF Core mapping and JSON serialization.

Sep 3, 2026 · 7 min

Value Objects in .NET

Primitives hide domain meaning. Value objects model concepts like Money and Address with value equality, immutability and rules built in.

Jul 23, 2026 · 6 min

Unit of Work Pattern in .NET

Unit of Work is a transaction boundary for related changes, not a DbContext wrapper. With EF Core you already have it. With Dapper, you coordinate the connection and transaction yourself.

Jul 9, 2026 · 6 min

Transactions in EF Core

Database transactions ensure multiple operations succeed or fail together. EF Core wraps SaveChanges in an implicit transaction, with explicit transactions and savepoints for more complex flows.

Jun 25, 2026 · 8 min

Entity Framework Extensions Options

EF Extensions offers many bulk operation options, from insert behavior and column mapping to update rules, graphs, batching, synchronization, auditing and transactions.

The next issue lands Thursday.

Join 4,000+ .NET engineers. Free, focused, and easy to leave.