ASP.NET Core Interview Question #10

What is a reverse proxy and why is it used with ASP.NET Core?

ASP.NET Core Fundamentals Junior Beginner

Quick Interview Answer

A reverse proxy is a server that receives client requests and forwards them to the ASP.NET Core application, usually running on Kestrel.

Detailed Explanation

A reverse proxy is a server that receives client requests and forwards them to the ASP.NET Core application, usually running on Kestrel.

It can provide TLS termination, public port management, load balancing, process integration, request filtering, centralized logging, and other edge-server capabilities. IIS and Nginx are common reverse proxies used with ASP.NET Core.

When a proxy changes request scheme, host, or client IP information, forwarded headers must be configured correctly so the application sees the original request values.