Category: Mono 2.0

Check If User Name Exists Using AJAX And C#

Check If User Name Exists Using AJAX And C#

April 26, 2009 | By | 11 Comments

You could make sure the user name entered during the registration process of your website is unique before the submit button is clicked using AJAX and C#.

Continue Reading

Simple Networking Tasks in C#

Simple Networking Tasks in C#

March 27, 2009 | By | 15 Comments

Developing applications in C# that access resource on the internet is easy. This post shows four useful functions: checking if the PC is connected to a network, domain name to IP address lookup, ping a host and download a file.

Continue Reading

A Wrapper Class For hostip.info’s GeoLocation Service

A Wrapper Class For hostip.info’s GeoLocation Service

March 18, 2009 | By | 2 Comments

GeoLocation refers to identifying a real-world geographic location of a computer, device or website visitor. There are a many websites that provide this service, some are free and some are not. A populare and free one is hostip.info. It provides country, country code, country flag, city, latitude and longitude of an IP address.

Continue Reading

Get a Movie’s Details From IMDb

Get a Movie’s Details From IMDb

February 23, 2009 | By | 8 Comments

A while back when I was developing MoviePlay (a movies database) I wanted to allow the user to get the movie’s details from IMDb (The Internet Movie Database) instead of having him/her enter it manually. IMDb does not provide a way for developers to use their data, so I wrote the code below to screen […]

Continue Reading

2 or More Domain Names Linked to the Same Folder

February 1, 2009 | By | 2 Comments

Most if not all web hosting services allow users to link two or more domain names to the same account to save them the cost of a new account for each domain name. With such accounts, opening any of the registered domain names calls the same default page as the other. The solution is to […]

Continue Reading

Reading and Writing Text Files in C#

January 24, 2009 | By | Add a Comment

With all the DBMSs out there, text files are still widely used when developing applications. They are small, fast and do not require any library or application to be installed in the client machine. The System.IO.StreamReader and System.IO.StreamWriter are used to read and write text files to disk.

Continue Reading