0

I am writing a gateway server in asp net core web API c#, I want to get the user's geolocation, I've looked it up and there doesn't seem to be a single doable answer. please if you know of a way to do this- without having to create my own database of IPs- could you help me.

aluf
  • 31
  • 2
  • Determining a geolocation from an IP address can only be done by using a third party service (or maintaining your own). Suggestion of which one to use are off topic here. – gunr2171 Sep 28 '22 at 13:07
  • okay so new question: how do i discover my device's geolocation in asp.net core mvc ? – aluf Sep 28 '22 at 13:08
  • I know its a terrible transgression asking a new question in the comment but should I even open a question? because that too I didn't really find and answer to – aluf Sep 28 '22 at 13:09
  • Are you talking about requesting a user's location through _JavaScript_ using the browser's Location APIs? https://stackoverflow.com/questions/26461367/get-gps-location-using-javascript – gunr2171 Sep 28 '22 at 13:09

0 Answers0