![]() |
VOOZH | about |
dotnet add package DistributedLock --version 2.8.2
NuGet\Install-Package DistributedLock -Version 2.8.2
<PackageReference Include="DistributedLock" Version="2.8.2" />
<PackageVersion Include="DistributedLock" Version="2.8.2" />Directory.Packages.props
<PackageReference Include="DistributedLock" />Project file
paket add DistributedLock --version 2.8.2
#r "nuget: DistributedLock, 2.8.2"
#:package DistributedLock@2.8.2
#addin nuget:?package=DistributedLock&version=2.8.2Install as a Cake Addin
#tool nuget:?package=DistributedLock&version=2.8.2Install as a Cake Tool
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on DistributedLock:
| Package | Downloads |
|---|---|
|
Silky.Rpc
Core RPC infrastructure for Silky: service entry discovery, routing, load balancing, governance policies (timeout/retry/circuit-breaker), and transport abstraction. |
|
|
Silky.DistributedLock.Redis
Redis-backed distributed lock provider for Silky, using Medallion.Threading.Redis. |
|
|
Net.RunMethodsSequentially
Runs updates to single resources, e.g. a database, on startup of an application that has multiple instances |
|
|
Silky.Transaction
Core distributed transaction coordinator for Silky: participant management, recovery scheduling, and distributed lock integration. |
|
|
Else.TheSaga.Locking.DistributedLock
A module that allows you use distributed locking (using sql server, thanks to DistributedLock library) --------------------- .net core Saga / ProcessManager implementation https://github.com/b-y-t-e/TheSaga |
Showing the top 3 popular GitHub repositories that depend on DistributedLock:
| Repository | Stars |
|---|---|
|
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
|
|
|
liuhll/silky
The Silky framework is designed to help developers quickly build a microservice development framework through simple code and configuration under the .net platform.
|
|
|
sitkoru/Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.8.2 | 6,700 | 6/10/2026 |
| 2.8.1 | 163,288 | 2/14/2026 |
| 2.8.0 | 59,482 | 1/18/2026 |
| 2.7.1 | 249,779 | 10/26/2025 |
| 2.7.0 | 202,695 | 8/10/2025 |
| 2.6.0 | 492,978 | 1/28/2025 |
| 2.5.1 | 108,145 | 12/7/2024 |
| 2.5.0 | 346,160 | 6/30/2024 |
| 2.4.0 | 180,996 | 3/26/2024 |
| 2.3.4 | 503,175 | 11/28/2023 |
| 2.3.3 | 263,941 | 7/17/2023 |
| 2.3.2 | 436,932 | 11/13/2022 |
| 2.3.1 | 345,970 | 7/9/2022 |
| 2.3.0 | 280,015 | 12/17/2021 |
| 2.2.0 | 106,258 | 10/2/2021 |
| 2.1.0 | 188,721 | 6/18/2021 |
| 2.0.2 | 83,452 | 4/24/2021 |
| 2.0.1 | 59,782 | 2/25/2021 |
| 2.0.0 | 56,693 | 1/14/2021 |
| 2.0.0-alpha02 | 571 | 12/23/2020 |