Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[AI-Suggested] Content update request from UUF signal: Rate limiting middleware in ASP.NET Core | Microsoft Learn

Abierto Apto para principiantes
#38,001 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
78/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
csharp

Línea de trabajo

Lee aspnetcore/performance/rate-limit.md, especialmente los párrafos introductorios, la sección Use rate-limiting middleware y su primer ejemplo de código. Añade la explicación solicitada sobre los contadores por instancia y los límites para todo el clúster, con una referencia cruzada cerca del ejemplo. La tarea estará terminada cuando ambos puntos queden claros para los lectores del artículo.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

:watch: Not Triaged CAC

Documentation Update: Rate limiting middleware in ASP.NET Core | Microsoft Learn

Customer Feedback

Page: Rate limiting middleware in ASP.NET Core | Microsoft Learn
Source File: https://github.com/dotnet/AspNetCore.Docs/blob/live/aspnetcore/performance/rate-limit.md

Summary

Clarify that ASP.NET Core’s built-in rate limiting middleware maintains counters per app instance by default, so limits are not enforced cluster-wide in multi-instance/load-balanced deployments unless a shared/distributed counter is introduced.

Suggested Fixes

Instructions for Copilot: Copilot should only fix suggestions with a checkmark and do not make any updates for unchecked suggestions.

[!NOTE]
Suggestions are generated by AI and they should be reviewed by human before assigning it to Copilot. Please uncheck the ones you don't want Copilot to work on. Then assign this issue to Agent (GitHub Copilot). When assigning it to Copilot you can enter additional instructions under "Optional Prompt" dialog.

  • In the introductory area of the article (immediately after the first paragraph that introduces Microsoft.AspNetCore.RateLimiting, and/or at the start of the Use rate-limiting middleware section), add a prominent note explaining the per-instance nature of the built-in middleware and the impact under load balancing. Include explicit wording about limits multiplying by instance count and point readers to external, centralized enforcement if they need cluster-wide throttling. For example:

    Important (multi-instance deployments): The built-in ASP.NET Core rate limiting middleware tracks limits within a single app instance/process. In a load-balanced or scaled-out deployment (multiple instances), each instance enforces its own counters, so the effective limit can be approximately N × configured limit (where N is the number of instances) if requests are distributed across instances. If you need cluster-wide limits, enforce throttling at a shared layer (for example, an API gateway/WAF/CDN) or implement a distributed/shared counter mechanism.

    Also add a short cross-reference near the first code sample in Use rate-limiting middleware noting that the example is per-instance and does not provide distributed enforcement.


📚 To learn more about agentic content maintenance workflow, visit Agentic workflow for Learn content maintenance. Sign in using Learn Profile to access the content on this link.

💬 Share your feedback on the Learn Content Maintenance Agentic Workflow here.

Lenguaje dominante
C#
Estrellas
13.1k
Forks
24.5k
Merge medio
2 d 15 h
PR fusionados (30 d)
159

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de dotnet/AspNetCore.Docs

Todos los issues de dotnet/AspNetCore.Docs

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.