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

  • 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(“”);
    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” +
    ci.CountryCode, ci.CountryCode3,
    ci.CountryName, ci.CurrencyCode, ci.CurrencyName,
    ci.CurrencyName, ci.Capital, ci.Region);

Special Offer
Free course!

Git into it! Bonus course Introduction to Git is yours when you take up a free 14 day SitePoint Premium trial.