DistributedLeaseManager.Core 1.0.0

dotnet add package DistributedLeaseManager.Core --version 1.0.0
NuGet\Install-Package DistributedLeaseManager.Core -Version 1.0.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="DistributedLeaseManager.Core" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DistributedLeaseManager.Core --version 1.0.0
#r "nuget: DistributedLeaseManager.Core, 1.0.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 DistributedLeaseManager.Core as a Cake Addin
#addin nuget:?package=DistributedLeaseManager.Core&version=1.0.0

// Install DistributedLeaseManager.Core as a Cake Tool
#tool nuget:?package=DistributedLeaseManager.Core&version=1.0.0




This library contains the core files of the simple C#/.NET distributed lease/lock manager (DLM) implementation.

Use this if you want to implement a custom lease storage; otherwise, use an existing implementation library, e.g. DistributedLeaseManager.AzureBlobStorage.

Inspired by the https://github.com/fbeltrao/azfunctions-distributed-locking

Contributing / Implementing a custom lease storage

If you'd like to use a lease storage different from the ones provided by the author, add the DistributedLeaseManager.Core library to your project and implement the corresponding interface (see any of the existing implementations as an example).

Feel free to open a PR with your changes to include them in the package!

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.
  • net6.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on DistributedLeaseManager.Core:

Package Downloads

A simple distributed lease/lock manager (DLM) implementation using the Entity Framework Core.


A simple distributed lease/lock manager (DLM) implementation using the Azure Blob Storage.


A simple distributed lease/lock manager (DLM) implementation using the Azure Cosmos DB.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 277 10/21/2023