Displaying Dynamically Generated Images in ASP.NET

Sometimes you need to display an image that is not saved in a file. These could be dynamically generated or loaded from a file but were modified. To display them in an Image control you ...

Check If User Name Exists Using AJAX And C#

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#. To accomplish this create two aspx pages.

A Wrapper Class For hostip.info's GeoLocation Service

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 ...

What Are ASP.NET Master Pages

Master pages were introduced into the .NET Framework in version 2.0. They are web pages that can contain XHTML, server-side controls and user controls just like normal ASP.NET page (with .aspx extension), but with a ...

Displaying Gravatars Using C#

Gravatar is a popular avatar service that links email addresses to the avatar. You do not need to register an account to be able to display gravatars on your site. All you need to do ...

Get a Movie's Details From IMDb

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. ...

How to Get a Web Application's Directory Path in ASP.NET

I found this question asked a lot in forums so I thought I should answer it here. Getting the physical path of the website can be done using Request.PhysicalApplicationPath. The following code also lists the ...

Dictionaries of HTML Codes

I wrote this class to help me do some screen scraping programs. It has two Dictionary objects. One contains the HTML codes and their text equivalents and the other contains the numeric HTML codes and ...

Installing the AJAX Controls Toolkit 3.5

The AJAX Controls Toolkit is an open source toolkit developed by Microsoft and the ASP.NET community. The latest version is for .NET 3.5 and it contains 38 client side components used to create Rich Internet ...

2 or More Domain Names Linked to the Same Folder

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 ...