AI Wisdom
Learning Track

API Design

REST, GraphQL, gRPC, OpenAPI, idempotency and versioning — designing APIs that survive scale and change.

8+
Topics
8
Published
100%
Free
Browse articles ↓

8 articlesin API Design

API Design
API Gateways in 2026: YARP, Azure APIM, and the AI Gateway Pattern

API Gateways in 2026: YARP, Azure APIM, and the AI Gateway Pattern

Advanced

YARP for in-process east-west traffic, Azure APIM north-south with policies for auth + rate limit + transform, BFF per channel, defense in depth, and the 2026 AI Gateway: token caps + semantic cache + token metrics.

15 min
Read →
API Design
OpenAPI 3.1 on .NET 9: Built-in Spec, Scalar UI, and Kiota Clients

OpenAPI 3.1 on .NET 9: Built-in Spec, Scalar UI, and Kiota Clients

Intermediate

Microsoft.AspNetCore.OpenApi replacing Swashbuckle, OpenAPI 3.1 with JSON Schema 2020-12, Scalar / Redoc UIs, schema + document transformers, Kiota / NSwag SDK generation, Spectral lint + oasdiff in CI.

13 min
Read →
API Design
Rate Limiting on .NET 9: Token Buckets, Redis, and Tiered Policies

Rate Limiting on .NET 9: Token Buckets, Redis, and Tiered Policies

Intermediate

Built-in RateLimiter middleware with FixedWindow/SlidingWindow/TokenBucket/Concurrency, partition by user/API key, distributed counters with Redis Lua INCR/EXPIRE, 429 + Retry-After + RateLimit-* headers, layered with APIM.

13 min
Read →
API Design
API Versioning: URL, Header, Media Type, and Sunset Discipline

API Versioning: URL, Header, Media Type, and Sunset Discipline

Intermediate

Asp.Versioning 8 on .NET 9, URL/query/header/media-type schemes, additive evolution, one domain with multiple wire mappers, RFC 8594 Sunset + Deprecation headers, per-version OpenAPI documents.

12 min
Read →
API Design
WebSockets and SignalR: Heartbeats, Backplanes, and CSWSH Defense

WebSockets and SignalR: Heartbeats, Backplanes, and CSWSH Defense

Intermediate

WebSocket vs SignalR vs SSE vs WebTransport, .NET 9 SignalR Hub + MapHub, scale-out with Redis backplane or Azure SignalR Service, KeepAliveInterval heartbeats, JWT in query string, backpressure with Channels.

13 min
Read →
API Design
gRPC on .NET 9: HTTP/3, Streaming, Deadlines, and JSON Transcoding

gRPC on .NET 9: HTTP/3, Streaming, Deadlines, and JSON Transcoding

Advanced

Four call patterns (unary/server/client/bidi), .NET 9 server + strongly-typed client over HTTP/3, deadlines + ServiceConfig retry policies, gRPC-Web for browsers, JSON transcoding so one service speaks gRPC and REST.

14 min
Read →
API Design
GraphQL with HotChocolate 14: Projections, DataLoaders, and Federation

GraphQL with HotChocolate 14: Projections, DataLoaders, and Federation

Advanced

When GraphQL beats REST and when it does not, HotChocolate 14 on .NET 9 with [UseProjection] + source-generated DataLoaders, persisted operations, cost analysis, Apollo Federation v2 with @key fields.

14 min
Read →
API Design
REST Principles in 2026: Resources, Idempotency, and Problem Details

REST Principles in 2026: Resources, Idempotency, and Problem Details

Intermediate

The five constraints that still matter (resources, methods, status codes, statelessness, cacheability), idempotency keys, RFC 9457 problem+json, cursor pagination over OFFSET, ETags + 304s, ASP.NET Core 9 MapGroup.

13 min
Read →