Choose and connect

Pick a database, configure connection pooling, and decide how queries and schema changes run.

  1. PostgreSQL vs SQL Server for .NET Developers

    7 min read

  2. SQLite With EF Core: When It's Enough

    8 min read

  3. Connection Pooling in .NET With NpgsqlDataSource

    8 min read

  4. Fixing "Timeout Expired: Connection Pool Exhausted" in .NET

    7 min read

  5. Dapper in .NET: A Practical Guide

    7 min read

  6. EF Core Migrations vs DbUp vs FluentMigrator

    8 min read

Query performance

Read query plans, add the index a query can use, search text in the database, and split large tables and read traffic.

  1. Reading PostgreSQL Query Plans With EXPLAIN ANALYZE

    7 min read

  2. PostgreSQL Indexing for .NET Developers

    7 min read

  3. Why Postgres Ignores Your Index (Sargability, Taught by a Kata)

    5 min read

  4. Full-Text Search in PostgreSQL With EF Core

    6 min read

  5. PostgreSQL Table Partitioning for .NET Applications

    8 min read

  6. Using Read Replicas in .NET Applications

    7 min read

Concurrency and writes

Choose an isolation level, write upserts safely, lock across processes, and run a job queue on PostgreSQL.

  1. Transaction Isolation Levels Explained for .NET Developers

    7 min read

  2. Upserts in EF Core With PostgreSQL

    7 min read

  3. Distributed Locking With Postgres Advisory Locks in .NET

    5 min read

  4. Building a Job Queue in PostgreSQL With FOR UPDATE SKIP LOCKED

    8 min read