Skip to main content
AsyncKeyedLock package icon

AsyncKeyedLock

An asynchronous .NET library that allows you to lock based on a key (keyed semaphores), limiting concurrent threads sharing the same key to a specified number, with optional pooling for reducing memory allocations.

Total Downloads
20.2M
20,171,527
Published
Dec 31, 2025
Latest stable version

Install

.NET CLI
dotnet add package AsyncKeyedLock --version 8.0.0-beta2
Package Manager Console
Install-Package AsyncKeyedLock -Version 8.0.0-beta2
PackageReference
<PackageReference Include="AsyncKeyedLock" Version="8.0.0-beta2" />

Frameworks

net5.0 net6.0 net7.0 net8.0 net9.0 .NETStandard2.0 .NETStandard2.1

Dependencies

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 7 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.