How can an ASP.NET Core MVC app get client IP address when server is behind AWS ELB?

You can just look at the X-Fowarded-For header for the original IP address .

To access the Headers, look at HttpContext.Current.Request.Headers or HttpContext.Request.Headers

I sucessfully listed the original client IP when running an ASP.NET Core MVC app on AWS behind ELB with that method