📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

πŸ“š .NET Interview Questions

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.

Reverse Proxy and Gateway

Nginx, IIS, YARP, API gateways, load balancing, SSL termination, path-based routing and forwarded headers in front of Kestrel.

  1. How do you scale ASP.NET Core SignalR across several instances, and when would you choose Azure SignalR Service over a Redis backplane?

    Covers scaling ASP.NET Core SignalR across instances: sticky sessions, Redis backplane and Azure SignalR Service, and how to choose between them.

    Mid-Level Theory Reverse Proxy and Gateway
  2. What does a reverse proxy do in front of Kestrel? Explain TLS termination, routing, request buffering and limits, and whether a .NET 10 app still needs one now that Kestrel is a hardened, internet-facing server.

    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.

    Junior Theory Reverse Proxy and Gateway Β· πŸ”— 3 follow-ups
  3. Build a small API gateway with YARP in .NET 10. Explain routes, clusters and destinations, transforms, load balancing policies, and active and passive health checks, and how you would add authentication and rate limiting at the gateway.

    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.

    Mid-Level Coding Reverse Proxy and Gateway Β· πŸ”— 3 follow-ups Β· πŸ›  1 real-world
  4. Nginx, IIS, YARP, Azure Front Door, Application Gateway and API Management can all sit in front of a .NET API. What does each one actually do, at which layer and scope, and how would you decide which ones a given system needs?

    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.

    Mid-Level Theory Reverse Proxy and Gateway Β· πŸ”— 3 follow-ups Β· πŸ›  1 real-world
  5. You move an ASP.NET Core 10 app behind Nginx or Application Gateway. Now SignalR connections drop and fall back to long polling, file uploads over 1 MB fail with 413, a slow report endpoint returns 502 or 504, and rate limiting treats every user as one client. How do you diagnose and fix each?

    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.

    Mid-Level Debugging Reverse Proxy and Gateway Β· πŸ”— 3 follow-ups Β· πŸ›  1 real-world
  6. You have a large ASP.NET Framework 4.8 application and a React SPA calling several APIs. How would you use YARP to migrate the legacy app to ASP.NET Core 10 incrementally with the strangler-fig pattern, and to build a backend-for-frontend that keeps tokens out of the browser? What are the risks?

    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.

    Senior Architecture Reverse Proxy and Gateway Β· πŸ”— 3 follow-ups Β· πŸ›  1 real-world

🌐 Sangam's Webring

βͺ Previous 🏠 Main Next ⏩
πŸ’¬ Chat with me