Coming hot on the heels of Zak’s excellent Securing Passwords in Your Database, “Target Your Visitors Using GeoIP and .NET” shows how to use the MaxMind product to detect automatically where your visitors are coming from, and shows techniques on how to customise your site for multiple culture / language visitors.

One of the neat ways you can use the GeoIP product is to automatically select the country of your visitor in a drop down list, which, not only is a help for your visitors, but also shows you care about their little scrollwheel finger ;)

Read the article here.

If you can think of some other novel uses for the toolkit, why not drop a comment here and share your experiences with the SitePoint community?

Philip is a Computer Science PhD student at Liverpool John Moores University. He's still not mastered guitar tabs, never finished Mario, and needs a haircut. He discusses life at http://www.miseldine.com/.

Get your free chapter of Level Up Your Web Apps with Go

Get a free chapter of Level Up Your Web Apps with Go, plus updates and exclusive offers from SitePoint.


  • MetroFan

    posted in article comments, but again. i’m using 4aspnet ipinfo component. easy, fast and consist of 1 file. example from their site:
    IPInfo ipi = new IPInfo();
    CountryInfo ci = ipi.GetInfoByHostAddress(“67.123.175.17″);
    Console.WriteLine(“Country Code:t{0}n” +
    “Country Code:t{1} (3 letters)n” +
    “Country Name:t{2}n” +
    “Currency Code:t{3}n” +
    “Currency Name:t{4}n” +
    “Currency:t{5}n” +
    “Capital:t{6}n” +
    “Region:tt{7}”,
    ci.CountryCode, ci.CountryCode3,
    ci.CountryName, ci.CurrencyCode, ci.CurrencyName,
    ci.CurrencyName, ci.Capital, ci.Region);

Related books & courses
Available now on SitePoint Premium

Preview for $1