ThrottlingTroll.AzureFunctions 7.1.1

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

// Install ThrottlingTroll.AzureFunctions as a Cake Tool
#tool nuget:?package=ThrottlingTroll.AzureFunctions&version=7.1.1                

ThrottlingTroll.AzureFunctions

Rate limiting/throttling middleware for Azure Functions (.NET Isolated).

Install from NuGet:

dotnet add package ThrottlingTroll.AzureFunctions

IMPORTANT: if in your project you are using ASP.NET Core Integration, then you need to install and use ThrottlingTroll.AzureFunctionsAspNet package instead.

How to use

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

var builder = new HostBuilder();

// .....

builder.ConfigureFunctionsWorkerDefaults((hostBuilderContext, workerAppBuilder) => {

    workerAppBuilder.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 an Azure Functions (.NET Isolated) project.

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 (2)

Showing the top 2 popular GitHub repositories that depend on ThrottlingTroll.AzureFunctions:

Repository Stars
JitHubApp/JitHubV2
GitHub WinUI Client
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 827 10/14/2024
7.2.0 1,761 8/31/2024
7.2.0-beta1 89 8/31/2024
7.1.2 1,715 6/12/2024
7.1.1 354 6/3/2024
7.1.0 105 6/1/2024
7.1.0-beta1 89 6/1/2024
7.0.0 430 5/15/2024
7.0.0-beta2 92 5/10/2024
7.0.0-beta1 102 5/5/2024
6.1.2 593 4/5/2024
6.1.1 1,269 1/28/2024
6.1.0 98 1/28/2024
6.0.0 685 12/4/2023
6.0.0-beta6 149 11/26/2023
6.0.0-beta5 95 11/26/2023
6.0.0-beta4 109 11/26/2023
6.0.0-beta3 110 11/26/2023
6.0.0-beta2 109 11/26/2023
6.0.0-beta1 95 11/25/2023
5.0.0 2,459 11/2/2023
4.0.5 800 8/27/2023
4.0.4 282 7/22/2023
4.0.2 152 7/22/2023
4.0.1 158 7/22/2023
4.0.0 146 7/22/2023
3.0.4 491 5/17/2023
3.0.3 133 5/15/2023
3.0.2 139 5/14/2023
3.0.1 134 5/14/2023
3.0.0 140 5/13/2023
2.0.1 266 4/1/2023