![]() |
VOOZH | about |
dotnet add package DistributedLock.Core --version 1.0.9
NuGet\Install-Package DistributedLock.Core -Version 1.0.9
<PackageReference Include="DistributedLock.Core" Version="1.0.9" />
<PackageVersion Include="DistributedLock.Core" Version="1.0.9" />Directory.Packages.props
<PackageReference Include="DistributedLock.Core" />Project file
paket add DistributedLock.Core --version 1.0.9
#r "nuget: DistributedLock.Core, 1.0.9"
#:package DistributedLock.Core@1.0.9
#addin nuget:?package=DistributedLock.Core&version=1.0.9Install as a Cake Addin
#tool nuget:?package=DistributedLock.Core&version=1.0.9Install 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 is compatible. 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 was computed. 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.Core:
| Package | Downloads |
|---|---|
|
DistributedLock.Redis
Provides distributed locking primitives based on Redis |
|
|
DistributedLock.SqlServer
Provides a distributed lock implementation based on SQL Server |
|
|
DistributedLock.Postgres
Provides a distributed lock implementation based on Postgresql |
|
|
DistributedLock.FileSystem
Provides a distributed lock implementation based on file locks |
|
|
DistributedLock.Azure
Provides a distributed locking implementation based on Azure blob leases |
Showing the top 7 popular GitHub repositories that depend on DistributedLock.Core:
| Repository | Stars |
|---|---|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
|
elsa-workflows/elsa-core
The Workflow Engine for .NET
|
|
|
fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat
可能是全网最完整的 C# 版微信 SDK,封装全部已知的微信 OpenAPI,包含微信公众平台(订阅号+服务号+小程序+小游戏+小商店+视频号)、微信开放平台、微信商户平台(微信支付+微企付)、企业微信、微信广告平台、微信智能对话开放平台等模块,可跨平台。持续随官方更新,欢迎 Star/Fork/PR。QQ 交流群 875580418【满】、930461548【满】、611974621。
|
|
|
masastack/MASA.Framework
.NET next-generation microservice development framework, which provides cloud native best practices based on Dapr.
|
|
|
junkai-li/NetCoreKevin
🤖基于.NET搭建的企业级中台AI知识库智能体开源架构:Skills技能管理、AI-Qdrant知识库、知识库重排模型、AI联网搜索、多智能体协同、聊天记录压缩策略、智能体权限管控、AgentFramework、RAG检索增强、本地Ollama AI模型调用、智能体技能可控加载、领域事件、一库多租户、Log4、Jwt、CAP、SignalR、Mcp、Ioc、Hangfire、RabbitMQ、Xunit、前端(Vue + Ant Design)
|
|
|
ikyriak/IdempotentAPI
A .NET library that handles the HTTP write operations (POST and PATCH) that can affect only once for the given request data and idempotency-key by using an ASP.NET Core attribute (filter).
|
|
|
TeamStepping/Stepping.NET
Stepping is a distributed BASE jobs implementation. You can use it as a workflow engine, event outbox/inbox, email/SMS sender, remote invoker, and more.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.9 | 1,065,678 | 1/18/2026 |
| 1.0.8 | 14,789,824 | 12/7/2024 |
| 1.0.7 | 3,388,798 | 6/30/2024 |
| 1.0.6 | 9,483,381 | 3/26/2024 |
| 1.0.6-alpha01 | 10,123 | 9/11/2022 |
| 1.0.5 | 15,835,870 | 7/9/2022 |
| 1.0.5-alpha001 | 2,533 | 7/6/2022 |
| 1.0.4 | 6,479,548 | 12/17/2021 |
| 1.0.4-beta001 | 1,176 | 12/13/2021 |
| 1.0.3 | 508,293 | 10/2/2021 |
| 1.0.3-rc01 | 1,372 | 8/25/2021 |
| 1.0.2 | 4,015,826 | 6/18/2021 |
| 1.0.1 | 1,935,810 | 4/24/2021 |
| 1.0.0 | 4,739,297 | 1/14/2021 |
| 1.0.0-alpha02 | 2,578 | 12/23/2020 |
| 1.0.0-alpha01 | 4,811 | 8/28/2020 |