ThrottlingTroll 11.0.0

dotnet add package ThrottlingTroll --version 11.0.0
                    
NuGet\Install-Package ThrottlingTroll -Version 11.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="ThrottlingTroll" Version="11.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ThrottlingTroll" Version="11.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ThrottlingTroll" />
                    
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 ThrottlingTroll --version 11.0.0
                    
#r "nuget: ThrottlingTroll, 11.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.
#:package ThrottlingTroll@11.0.0
                    
#: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=ThrottlingTroll&version=11.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ThrottlingTroll&version=11.0.0
                    
Install as a Cake Tool

ThrottlingTroll

Yet another take on rate limiting/throttling in ASP.NET Core.

Install from NuGet:

dotnet add package ThrottlingTroll

How to use

Make sure you call one or another form of .UseThrottlingTroll() method at startup:

public static void Main(string[] args)
{
    var builder = WebApplication.CreateBuilder(args);

    // .....

    var app = builder.Build();

    app.UseThrottlingTroll();

    // .....
}

All different ways of configuring, all other features and more code snippets are documented in our Wiki.

Samples

Here is a separate repo with sample projects, that demonstrates how to use ThrottlingTroll in ASP.NET Core.

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0 81 11/4/2026
11.0.0-beta3 80 11/4/2026
11.0.0-beta2 79 11/3/2026
11.0.0-beta1 98 11/2/2026
10.0.1 17,680 3/30/2026
10.0.0 3,134 3/7/2026
10.0.0-beta3 148 3/6/2026
10.0.0-beta2 144 3/3/2026
10.0.0-beta1 140 3/1/2026
9.2.0 5,720 2/1/2026
9.1.0 3,104 1/7/2026
9.0.0 2,472 12/23/2025
9.0.0-beta3 249 12/22/2025
9.0.0-beta2 235 12/22/2025
9.0.0-beta1 227 12/21/2025
8.0.0 8,805 7/1/2025
8.0.0-beta3 247 6/30/2025
8.0.0-beta2 257 6/29/2025
8.0.0-beta1 203 6/28/2025
7.3.0 47,019 10/14/2024
Loading failed