![]() |
VOOZH | about |
dotnet add package Soenneker.Utils.RateLimiting.Factory --version 4.0.1102
NuGet\Install-Package Soenneker.Utils.RateLimiting.Factory -Version 4.0.1102
<PackageReference Include="Soenneker.Utils.RateLimiting.Factory" Version="4.0.1102" />
<PackageVersion Include="Soenneker.Utils.RateLimiting.Factory" Version="4.0.1102" />Directory.Packages.props
<PackageReference Include="Soenneker.Utils.RateLimiting.Factory" />Project file
paket add Soenneker.Utils.RateLimiting.Factory --version 4.0.1102
#r "nuget: Soenneker.Utils.RateLimiting.Factory, 4.0.1102"
#:package Soenneker.Utils.RateLimiting.Factory@4.0.1102
#addin nuget:?package=Soenneker.Utils.RateLimiting.Factory&version=4.0.1102Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.RateLimiting.Factory&version=4.0.1102Install as a Cake Tool
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
dotnet add package Soenneker.Utils.RateLimiting.Factory
IRateLimitingFactory within DI (Program.cs).public static async Task Main(string[] args)
{
...
builder.Services.AddRateLimitingFactoryAsSingleton();
}
IRateLimitingFactory, and retrieve a RateLimitingFactory.Example:
public class TestClass
{
IRateLimitingFactory _factory;
public TestClass(IRateLimitingFactory factory)
{
_factory = factory;
}
public async ValueTask ExecuteTasks()
{
RateLimitingExecutor rateLimitingExecutor = await _factory.Get("test", TimeSpan.FromSeconds(2));
for (int i = 0; i < 5; i++)
{
await rateLimitingExecutor.Execute(async ct =>
{
Logger.LogInformation($"Executing Task {i + 1} at {DateTime.Now:HH:mm:ss}");
await Task.Delay(100, ct); // Simulate some work
});
}
}
}
Executing Task 1 at 14:00:00
Executing Task 2 at 14:00:02
Executing Task 3 at 14:00:04
Executing Task 4 at 14:00:06
Executing Task 5 at 14:00:08
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on Soenneker.Utils.RateLimiting.Factory:
| Package | Downloads |
|---|---|
|
Soenneker.Validators.Yahoo.Exists
A validation module checking for Yahoo account existence |
|
|
Soenneker.Validators.Gmail.Exists
A validation module checking for Gmail account existence |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1102 | 0 | 6/19/2026 |
| 4.0.1101 | 0 | 6/18/2026 |
| 4.0.1099 | 153 | 6/17/2026 |
| 4.0.1098 | 179 | 6/16/2026 |
| 4.0.1097 | 312 | 6/10/2026 |
| 4.0.1096 | 278 | 6/9/2026 |
| 4.0.1095 | 184 | 6/9/2026 |
| 4.0.1094 | 284 | 6/7/2026 |
| 4.0.1093 | 216 | 6/6/2026 |
| 4.0.1092 | 150 | 6/6/2026 |
| 4.0.1091 | 184 | 6/6/2026 |
| 4.0.1090 | 131 | 6/5/2026 |
| 4.0.1089 | 100 | 6/5/2026 |
| 4.0.1087 | 148 | 6/5/2026 |
| 4.0.1086 | 511 | 5/13/2026 |
| 4.0.1085 | 191 | 5/13/2026 |
| 4.0.1084 | 245 | 5/12/2026 |
| 4.0.1083 | 383 | 5/2/2026 |
| 4.0.1082 | 294 | 4/24/2026 |
| 4.0.1081 | 188 | 4/24/2026 |
Update dependency Soenneker.Utils.RateLimiting.Executor to 4.0.540 (#1681)