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.

8 posts in Dapper

Aug 20, 2026 · 6 min

Dapper Transactions in ASP.NET Core

Dapper does not wrap writes in an implicit transaction. Learn BeginTransaction, Dapper.Transaction and TransactionScope so related SQL statements commit or roll back together.

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.

Jun 11, 2026 · 5 min

Prevent SQL Injection in .NET

SQL injection lets attackers alter database queries through untrusted input. Preventing it requires understanding how database queries are built and using parameterization consistently.

Feb 5, 2026 · 5 min

Getting Started with Dapper Plus

Dapper Plus is a commercial library that adds bulk insert, update, delete, merge, and synchronize to Dapper.

Nov 6, 2025 · 7 min

Bulk Delete with EF Core and Dapper in .NET

Dapper is amazingly fast and easy to use, although EF Core can be as fast if used properly.

Oct 30, 2025 · 7 min

Bulk Update with EF Core and Dapper in .NET

Dapper is amazingly fast and easy to use, although EF Core can be as fast if used properly.

Jul 30, 2025 · 5 min

Handling Relationships in Dapper

In this post, we explored how to manage the three main types of relationships using Dapper.

May 11, 2025 · 5 min

Getting Started with Dapper in .NET

Dapper is a powerful and lightweight micro ORM that shines when you need fast, direct access to your database without the overhead of a full-fledged ORM.

The next issue lands Thursday.

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