New Article: GeoIP and .NET

Tweet

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?

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

  • 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);