Closed benfoster closed 9 years ago
If you're running locally and using IPv6 then the call to GeoLocation.GetCountryFromIP will fail since the IP will be an empty string.
GeoLocation.GetCountryFromIP
I changed this to:
IPAddressCountry = string.IsNullOrEmpty(userIP) ? null : GeoLocationHelper.GetCountryFromIP(userIP),
To get everything running locally.
Note that this was for the MyNotes example.
Thanks @benfoster I have checked this in too.
If you're running locally and using IPv6 then the call to
GeoLocation.GetCountryFromIP
will fail since the IP will be an empty string.I changed this to:
To get everything running locally.
Note that this was for the MyNotes example.