WebApiSkeleton.DistributedLockUtilities 1.1.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package WebApiSkeleton.DistributedLockUtilities --version 1.1.0                
NuGet\Install-Package WebApiSkeleton.DistributedLockUtilities -Version 1.1.0                
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="WebApiSkeleton.DistributedLockUtilities" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebApiSkeleton.DistributedLockUtilities --version 1.1.0                
#r "nuget: WebApiSkeleton.DistributedLockUtilities, 1.1.0"                
#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.
// Install WebApiSkeleton.DistributedLockUtilities as a Cake Addin
#addin nuget:?package=WebApiSkeleton.DistributedLockUtilities&version=1.1.0

// Install WebApiSkeleton.DistributedLockUtilities as a Cake Tool
#tool nuget:?package=WebApiSkeleton.DistributedLockUtilities&version=1.1.0                

WebApiSkeleton.DistributeLockUtilities

WebApiSkeleton.DistributeLockUtilities contains dependencies to implement different types of distributed locks.

Usage

Settings

RedisSettings provides properties to set up Redis IConnectionMultiplexer and the database number that is used. If multiple redis instances are required it is better to use .NET 8 Keyed services feature.

SemaphoreSettings are used in IDistributedLockService to resolve semaphores.

Description

IDistributedLockService is an abstraction to the lock service. It provides base methods to acquire locks and semaphores. Default implementation is RedisDistributedLockService.

In default redis implementation DistributedLockException is thrown WithDistributedLockAsync method has throwOnFailure argument set to true or lock couldn't be taken for more than 1 minute.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WebApiSkeleton.DistributedLockUtilities:

Package Downloads
WebApiSkeleton.Tasks

Package containing implementation of distributed task queue persisted in Redis database.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated