Skip to main content

Provides a distributed lock implementation based on SQL Server

Total Downloads
19.1M
19,078,877
Published
Feb 14, 2026
8mo ago

Get Started

dotnet add package DistributedLock.SqlServer --version 1.0.7
ProductVersions
.NET Standard
netstandard2.0netstandard2.1
Other
.NETFramework4.6.2

README

DistributedLock is a .NET library that provides robust and easy-to-use distributed mutexes, reader-writer locks, and semaphores based on a variety of underlying technologies.

With DistributedLock, synchronizing access to a region of code across multiple applications/machines is as simple as:

await using (await myDistributedLock.AcquireAsync())
{
	// I hold the lock here
}

Read the documentation here.

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.