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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rwx.DistributedLocking.Abstractions" Version="0.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rwx.DistributedLocking.Abstractions" Version="0.3.1" />
                    
Directory.Packages.props
<PackageReference Include="Rwx.DistributedLocking.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Rwx.DistributedLocking.Abstractions --version 0.3.1
                    
#r "nuget: Rwx.DistributedLocking.Abstractions, 0.3.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Rwx.DistributedLocking.Abstractions@0.3.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rwx.DistributedLocking.Abstractions&version=0.3.1
                    
Install as a Cake Addin
#tool nuget:?package=Rwx.DistributedLocking.Abstractions&version=0.3.1
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last Updated
0.3.1 249 7/26/2026
0.3.0 149 7/20/2026
0.2.2 168 7/14/2026
0.2.1 128 7/13/2026