Search code examples
c#asp.netlocation-aware

Easiest Way to Make ASP.NET Application Location Aware?


What is the quickest way to make my ASP.NET application location aware? I have seen some API examples that are in C++ and not able to load into an ASP.NET application. Are there other ways to go about this? I just need to be able to get a general location of my users (city level or lower). Getting a ZIP code would be ideal.


Solution

  • The best idea would be GeoLocate the user to his country based on his IP. At the most, It is also possible to track-down the user to his city but the accuracy is always doubtful.You can find some information on this here.