This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
HttpPlatformHandler/Kestrel: HttpContext.Connection.RemoteIpAddress not working #17
Closed
Description
Following: #16
I'm using Google RECAPTCHA on this contact form, and I think I used to have ...
string gIp = Context.Connection.RemoteIpAddress.ToString();
... in the beta7 version of this app. For the beta8 upgrade, that Context
went away, but it seemed cool with HttpContext
...
string gIp = HttpContext.Connection.RemoteIpAddress.ToString();
... but that's throwing a null reference exception. Is this a "Luke not handling the contexts correctly" problem or a "HttpPlatformHandler/Kestrel" problem?