Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Troubleshooting — EricksonLopez.RateLimiting

Common compiler and runtime issues when integrating EricksonLopez.RateLimiting (1.0.0).

  • Symptom: Compiler cannot locate AddRateLimiting or RateLimiterPolicyBuilder even with using EricksonLopez.RateLimiting; imported.
  • Fix: Add using EricksonLopez.RateLimiting.AspNetCore; and using EricksonLopez.RateLimiting.Policies;.
  • Leaked concurrency slots: Failing to dispose RateLimitLease (using RateLimitLease lease = result.Value;) prevents DisposeAction from firing on ConcurrencyRateLimiter.
  • Return type: IRateLimiter.AcquireAsync returns Task<Result<RateLimitLease>>, not ValueTask<Result<RateLimitLease>>.