Geolocation by IP Address in ASP.NET

Geolocation by IP Address in ASP.NET

·

2 min read

Demo: techtolia.com/IpLocation

What is Geolocation by IP Address in ASP.NET?

With integrating the module to your ASP.NET web forms, get location details of users by their IPv4, or check location details for any IPv4. IP location is not exact location, it generally represents city location.

The module comes with two types database connection options and database files, and ready to use. First: Loading database from the mdf database file with Ado.Net connection model. Second: Loading database from csv file (a bit slower).

Also, you can import database from csv to your database, use your database connection and load data.

Database includes 2.5+ million IP-Geolocation records. Records include ip from, ip to, country code, country, region, city, latitude, longitude, postal code, time zome.

Extra: The module uses Google Maps APIs to show the location on map from latitude-longitude location details. Full source code and the database files are included.

What is IP Geolocation?

IP Geolocation is mapping of an IP address to the real-world geographic location of a device. Geolocation involves in mapping IPv4 address to country code, country, region, city, latitude, longitude, postal code, time zome.

Accuracy of geolocation database is not 100% because there is not any official source of IP to Geolocation information.

Alt Text

Alt Text