How do I get client IP address in ASP.NET Core – C# ASP.NET MVC 2 years ago In this video, I am going to teach you, How to use XForwardedFor and XForwardedProto in asp.net core to get the client IPAddress as well as Remote IPAddress.