Home pageMehdi Hadeli TechMehdi Hadeli Tech
HomeArchivesTagsGitHub ProjectsAbout
|githubGitHublinkedinLinkedin
ArticleJuly 24, 2026

Concurrency Control in .NET: From Local Locks to Distributed Systems

dotnetconcurrencydistributed-lockingvertical-slice-architecture

A hands-on guide to four concurrency control strategies in .NET: NoLock, LocalLock, Optimistic, and Distributed (Redis RedLock), built with Vertical Slice Architecture and MediatR.

Mehdi Hadeliauthor avatar

Mehdi Hadeli

Software Architecture

Read
ArticleMay 5, 2025

Optimistic vs. Pessimistic Concurrency In .NET: Complete Guide with Examples

dotnet-corecsharpconcurrency

Learn the key differences between optimistic and pessimistic concurrency control in .NET, their pros & cons, and when to use each. This complete guide includes practical examples to help you manage data conflicts effectively in your applications.

Mehdi Hadeliauthor avatar

Mehdi Hadeli

Software Architecture

Read
ArticleApril 15, 2025

Concurrency vs. Parallelism in .NET: A Practical Guide

dotnet-corecsharpconcurrency

Discover the essential differences between concurrency and parallelism in .NET, and learn when to use each for maximum performance. This post explores practical patterns, real-world examples, and best practices to help you write efficient, high-throughput applications using modern .NET techniques.

Mehdi Hadeliauthor avatar

Mehdi Hadeli

Software Architecture

Read
githubGitHublinkedinLinkedin
Mehdi Hadeli
•
© 2026
•
Mehdi Hadeli Tech