Tricksfor.DistributedLockManager
9.0.0
dotnet add package Tricksfor.DistributedLockManager --version 9.0.0
NuGet\Install-Package Tricksfor.DistributedLockManager -Version 9.0.0
<PackageReference Include="Tricksfor.DistributedLockManager" Version="9.0.0" />
<PackageVersion Include="Tricksfor.DistributedLockManager" Version="9.0.0" />
<PackageReference Include="Tricksfor.DistributedLockManager" />
paket add Tricksfor.DistributedLockManager --version 9.0.0
#r "nuget: Tricksfor.DistributedLockManager, 9.0.0"
#:package Tricksfor.DistributedLockManager@9.0.0
#addin nuget:?package=Tricksfor.DistributedLockManager&version=9.0.0
#tool nuget:?package=Tricksfor.DistributedLockManager&version=9.0.0
DistributedLockManager
DistributedLockManager is a small .NET library that provides distributed locking using Redis. It helps coordinate access to shared resources across multiple processes or services.
Install
Install from NuGet Tricksfor.DistributedLockManager.
dotnet add package Tricksfor.DistributedLockManager
Usage
Use the IDistributedLockService to run code under a distributed lock:
await lockService.RunWithLockAsync(
async () => { /* your code */ },
"resource:123:operation",
cancellationToken
);
See the GitHub repository for full docs and examples:
https://github.com/Tricksfor-Organization/DistributedLockManager
This README will be included in the NuGet package and displayed on nuget.org when the package is uploaded.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Aspire.StackExchange.Redis.DistributedCaching (>= 9.5.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.10)
- RedLock.net (>= 2.3.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Tricksfor.DistributedLockManager:
| Package | Downloads |
|---|---|
|
Tricksfor.DistributedNonce
Distributed Nonce provides an easy-to-use block chain Nonce handler in scalable environment. |
GitHub repositories
This package is not used by any popular GitHub repositories.