ThrottlingTroll 7.2.0-beta1

This is a prerelease version of ThrottlingTroll.
There is a newer version of this package available.
See the version list below for details.
dotnet add package ThrottlingTroll --version 7.2.0-beta1                
NuGet\Install-Package ThrottlingTroll -Version 7.2.0-beta1                
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="7.2.0-beta1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ThrottlingTroll --version 7.2.0-beta1                
#r "nuget: ThrottlingTroll, 7.2.0-beta1"                
#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 ThrottlingTroll as a Cake Addin
#addin nuget:?package=ThrottlingTroll&version=7.2.0-beta1&prerelease

// Install ThrottlingTroll as a Cake Tool
#tool nuget:?package=ThrottlingTroll&version=7.2.0-beta1&prerelease                

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 sample project, that demonstrates how to use ThrottlingTroll in ASP.NET Core.

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on ThrottlingTroll:

Repository Stars
ThrottlingTroll/ThrottlingTroll
Rate limiting/throttling/circuit-breaking middleware for ASP.NET Core and Azure Functions. Supports Redis and many other distributed counter stores.
Version Downloads Last updated
7.3.0 70 10/14/2024
7.2.0 473 8/31/2024
7.2.0-beta1 99 8/31/2024
7.1.2 499 6/12/2024
7.1.1 137 6/3/2024
7.1.0 119 6/1/2024
7.1.0-beta1 98 6/1/2024
7.0.0 177 5/15/2024
7.0.0-beta2 90 5/10/2024
7.0.0-beta1 102 5/5/2024
6.1.2 656 4/5/2024
6.1.0 492 1/28/2024
6.1.0-beta1 186 1/28/2024
6.0.0 568 12/4/2023
6.0.0-beta6 330 11/26/2023
6.0.0-beta5 294 11/26/2023
6.0.0-beta4 290 11/26/2023
6.0.0-beta3 284 11/26/2023
6.0.0-beta2 295 11/26/2023
6.0.0-beta1 303 11/25/2023
5.0.0 1,252 11/2/2023
4.0.5 858 8/27/2023
4.0.4 593 7/22/2023
4.0.2 509 7/22/2023
4.0.1 514 7/22/2023
4.0.0 501 7/22/2023
3.0.4 998 5/17/2023
3.0.3 487 5/15/2023
3.0.2 502 5/14/2023
3.0.1 511 5/14/2023
3.0.0 496 5/13/2023
2.0.0 1,044 4/1/2023
1.2.0 634 2/21/2023
1.1.0 5,654 1/22/2023
1.0.0 614 1/18/2023