ThrottlingTroll 10.0.1

dotnet add package ThrottlingTroll --version 10.0.1
                    
NuGet\Install-Package ThrottlingTroll -Version 10.0.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="ThrottlingTroll" Version="10.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ThrottlingTroll" Version="10.0.1" />
                    
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 10.0.1
                    
#r "nuget: ThrottlingTroll, 10.0.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 ThrottlingTroll@10.0.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=ThrottlingTroll&version=10.0.1
                    
Install as a Cake Addin
#tool nuget:?package=ThrottlingTroll&version=10.0.1
                    
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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
10.0.1 917 3/30/2026
10.0.0 2,276 3/7/2026
10.0.0-beta3 89 3/6/2026
10.0.0-beta2 89 3/3/2026
10.0.0-beta1 87 3/1/2026
9.2.0 3,459 2/1/2026
9.1.0 2,316 1/7/2026
9.0.0 1,951 12/23/2025
9.0.0-beta3 194 12/22/2025
9.0.0-beta2 182 12/22/2025
9.0.0-beta1 176 12/21/2025
8.0.0 7,598 7/1/2025
8.0.0-beta3 209 6/30/2025
8.0.0-beta2 210 6/29/2025
8.0.0-beta1 160 6/28/2025
7.3.0 19,998 10/14/2024
7.2.0 3,144 8/31/2024
7.2.0-beta1 196 8/31/2024
7.1.2 2,333 6/12/2024
7.1.1 1,992 6/3/2024
Loading failed