Skip to main content

Command Palette

Search for a command to run...

Geolocation by IP Address in ASP.NET

Published
2 min read
Geolocation by IP Address in ASP.NET
T

We build sustainable high added value solutions and beatiful digital experiences.

If you need customization or custom web development, please provide your project details to hello@techtolia.com and one of our well established development partners will get back to you with a free quote.

Technologies: .NET, ASP.NET, ADO.NET, Entity Framework, C#, MSSQL, Javascript, jQuery, HTML, CSS

Demo: https://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

More from this blog

T

Techtolia

12 posts