1325 questions for senior .NET engineer interviews, each with a 30-second answer, the full answer, a deep dive, the follow-ups interviewers ask next, and real-world production problems.
Nginx, IIS, YARP, API gateways, load balancing, SSL termination, path-based routing and forwarded headers in front of Kestrel.
Covers scaling ASP.NET Core SignalR across instances: sticky sessions, Redis backplane and Azure SignalR Service, and how to choose between them.
Covers what a reverse proxy (Nginx, IIS, YARP, Azure Front Door, Application Gateway, Kubernetes ingress) does in front of Kestrel: TLS termination, routing, load balancing, buffering, limits and when you can expose Kestrel directly.
Covers building a gateway with YARP (Yarp.ReverseProxy): configuration-based routes and clusters, path transforms, load balancing policies, active and passive health checks, timeouts, and applying ASP.NET Core authorisation and rate limiting per route.
Compares Nginx, IIS with the ASP.NET Core Module, YARP, Azure Front Door, Application Gateway (and Application Gateway for Containers), Azure Load Balancer and API Management by layer, scope and job, and how to choose a minimal layered edge for a .NET API in Azure.
Diagnoses the common breakages after putting a reverse proxy in front of ASP.NET Core: WebSocket upgrade and idle timeouts for SignalR, sticky sessions, body size limits at each layer, layered request timeouts that cause 502/504, and forwarded headers for client IPs.
Covers YARP as an architectural tool: strangler-fig migration from ASP.NET Framework to ASP.NET Core 10 with MapForwarder and System.Web adapters (shared session and authentication), and a backend-for-frontend that uses cookies and attaches access tokens server-side, plus the risks and exit criteria.