Optimistic vs Pessimistic Concurrency in .NET
Two users edit the same record and one update silently disappears. Learn how to implement optimistic and pessimistic concurrency in .NET with EF Core and PostgreSQL, and how to choose between them.
Explore the newsletters
Two users edit the same record and one update silently disappears. Learn how to implement optimistic and pessimistic concurrency in .NET with EF Core and PostgreSQL, and how to choose between them.
Senior developers reach for SQL features most juniors never learn. Here are 10 powerful PostgreSQL features - CTEs, window functions, LATERAL joins, FILTER, UPSERT, JSON, generated columns, and more - each with code examples.
AI writes .NET code fast, but it only follows the rules it cannot skip. Learn how to set up build guardrails, static analysis, and a Claude review skill that catches clean code issues on every change.
PostgreSQL, SQL Server, MongoDB, Redis, DynamoDB or Cosmos DB? Compare every database family on cost, licensing, availability, performance and security.
Bad configuration should crash your app at startup, not deep in a request. Learn how to validate configuration in ASP.NET Core with Data Annotations and FluentValidation, and fail fast with ValidateOnStart. Data Annotations vs FluentValidation: when to use each for configuration validation.
System design is a chain of trade-offs, not just patterns to memorize: CAP and consistency, SQL vs NoSQL, sharding, caching, queues, monolith vs microservices.
18 REST API security best practices in ASP.NET Core - HTTPS, JWT validation, authorization policies, rate limiting, CORS, secrets, security headers, and more - each with C# code you can apply today.
Azure Event Grid vs Event Hubs in .NET: learn how each works, how they differ from Azure Service Bus, how to publish and handle events in C#, and exactly when to use each.
Build a complete CI/CD pipeline for .NET with GitHub Actions - run unit and integration tests, publish a NuGet package, build a Docker image that runs tests, manage secrets, and push to the container registry.
Join my community of 27,000+ developers and architects.
Each week you will get 1 practical tip with best practices and real-world examples.
Learn how to craft better software with source code available for my newsletter.