Rwx.DistributedLocking.Abstractions
0.3.1
dotnet add package Rwx.DistributedLocking.Abstractions --version 0.3.1
NuGet\Install-Package Rwx.DistributedLocking.Abstractions -Version 0.3.1
<PackageReference Include="Rwx.DistributedLocking.Abstractions" Version="0.3.1" />
<PackageVersion Include="Rwx.DistributedLocking.Abstractions" Version="0.3.1" />
<PackageReference Include="Rwx.DistributedLocking.Abstractions" />
paket add Rwx.DistributedLocking.Abstractions --version 0.3.1
#r "nuget: Rwx.DistributedLocking.Abstractions, 0.3.1"
#:package Rwx.DistributedLocking.Abstractions@0.3.1
#addin nuget:?package=Rwx.DistributedLocking.Abstractions&version=0.3.1
#tool nuget:?package=Rwx.DistributedLocking.Abstractions&version=0.3.1
Rwx.DistributedLocking.Abstractions
Distributed lock contract for applications that need to serialize work across multiple instances/replicas without selecting a locking implementation.
Install
dotnet add package Rwx.DistributedLocking.Abstractions --version 0.2.0
Depend on Rwx.DistributedLocking.IDistributedLock in the use case, then register an adapter in
the host. Rwx.DistributedLocking.Redis provides the Redis-backed implementation.
Boundaries
A distributed lock protects against concurrent execution, not correctness on its own — prefer a
database constraint (unique index, SELECT ... FOR UPDATE) when the operation is already backed
by a database that can enforce it. Reach for this when the operation isn't naturally idempotent or
constraint-protected (e.g. "only one replica should run this migration/maintenance job at a
time").
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rwx.DistributedLocking.Abstractions:
| Package | Downloads |
|---|---|
|
Rwx.DistributedLocking.Redis
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.