Designing API Rate Limits for Different Customer Plans
Learn how to design plan-based API rate limits using quotas, token buckets, concurrency limits, trusted entitlements, and scalable policy architecture.
Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Learn how to design plan-based API rate limits using quotas, token buckets, concurrency limits, trusted entitlements, and scalable policy architecture.
Learn how GraphQL persisted-query allowlists restrict clients to approved operations, how they differ from APQ, and how they improve API control and observability.
Learn why average API latency can hide slow requests and how p50, p95, and p99 percentiles help monitor and troubleshoot response-time performance.
Learn how to use CancellationToken in ASP.NET Core Web API to stop abandoned requests, cancel EF Core queries, and handle request cancellation efficiently.
Learn how to detect and fix N+1 database queries in GraphQL APIs using batching, DataLoader, EF Core logging, and request-level metrics.
Understand API rate limiting vs API throttling, including request quotas, traffic control, 429 responses, algorithms, backend protection, and when to use each approach.
Comprehensive FAQ covering Web APIs, REST, SOAP, GraphQL, gRPC, and more. Learn about authentication, versioning, security, and real-time project applications.
Learn GraphQL for beginners by comparing it with REST and gRPC, understanding queries, mutations, subscriptions, schemas, over-fetching, under-fetching, N+1 queries, and practical API use cases.
Learn the most common API status codes, including 200, 201, 400, 401, 403, 404, 429, 500, 502, 503, and 504, with simple examples and practical debugging tips.
Learn what gRPC is, how RPC, Protobuf, and HTTP/2 work together, when to choose gRPC over REST, and how to use the different gRPC communication patterns in .NET.
Learn how to automate NuGet API key rotation in GitHub Actions and safely manage 30-day credentials without disrupting .NET package publishing workflows.
Secure multi-tenant AI agents with OBO token exchange. Preserve user identity, enforce tenant isolation, and implement least privilege.
Secure multi-tenant AI agents by mastering On-Behalf-Of token exchange for robust identity propagation and tenant isolation.
Master Dataverse bulk data deletion using C# and Web API to optimize storage, boost performance, and manage costs efficiently.
Diagnose and fix ASP.NET Core API Thread Pool starvation. Learn to identify slow responses caused by blocked threads, not just slow databases.
Explore .NET Native AOT for high-traffic REST APIs. Benchmark startup, latency, throughput, and memory for optimal performance.
Learn to load test ASP.NET Core APIs with k6, monitor latency and throughput, and use OpenTelemetry traces and metrics to identify performance bottlenecks.
Optimize ASP.NET Core Minimal APIs for peak performance. Learn techniques for efficient routing, JSON serialization, async programming, caching, and more.
Master ASP.NET Core API rate limiting to protect apps from abuse, ensure stability, and optimize resource usage with built-in middleware.
Build scalable microservices with ASP.NET Core and YARP. Centralize routing, auth, and more with a powerful API Gateway.
Explore Native AOT in .NET 10: understand its benefits for faster startups & lower memory, and when it might hurt your apps.
Master API versioning in ASP.NET Core 10. Explore strategies, best practices, and seamless migration to evolve your APIs without breaking clients.
ASP.NET Core: Minimal APIs vs Controllers. Learn when to choose each for microservices, enterprise apps, and maintainability.
Master ASP.NET Core rate limiting for scalable, secure APIs. Learn best practices, algorithms (fixed, sliding, token bucket), and middleware for robust traffic control.
Safely evolve ASP.NET Core APIs with versioning strategies, compatibility guidelines, and deprecation planning to avoid breaking clients.
Boost ASP.NET Core API performance with Output Caching. Learn best practices for high-traffic apps, reducing load and improving response times.
Understand JWT, OAuth 2.1, and OpenID Connect for secure .NET app authentication. Choose the right strategy for APIs, delegated access, and SSO.
Secure your ASP.NET Core APIs with rate limiting. Learn to implement fixed window, sliding window, and token bucket strategies for robust protection.
GraphQL vs REST: Understand their strengths, weaknesses, and best use cases for modern API development. Choose wisely for your project.
Learn how GraphQL Federation combines multiple microservices into a unified GraphQL API, enabling scalable architecture, independent team ownership, and simplified frontend development.
Everything on Web API, not only its articles: the Web API page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article