448

WHOIS queries the .NET way

Querying a dot-com domain To demonstrate the principle of how a WHOIS query works, we use the American registry Network Solutions (compare screen shot): http://www.networksolutions.com/cgi-bin/whois/whois All one has to do is enter the domain name, click Search – and the… Continue Reading

1,066

How to create a Notepad application

In this article, I have explained the procedure to create a notepad application. Introduction This is a simple window application, which explains how to create a Notepad application. Description To create a notepad application, the primary requirements are to place a… Continue Reading

1,287

Directory Browsing the .NET Way

Enumerating Drives The first thing we should find out is which drives actually are available for browsing on the computer (listdrives.aspx): <% @Page Language=”C#” %> <% @Import Namespace=”System.IO” %> <% string[] achDrives = Directory.GetLogicalDrives(); int nNumOfDrives = achDrives.Length; Response.Write(“<ul>”); for… Continue Reading

22

Saving HTML 5 Canvas as Image on the server using ASP.NET

HTML 5 has a very nice drawing API in the form of new Canvas element. Canvas is used for rendering graphs, game graphics, or other visual images on the fly. Canvas is a rectangular area that we can add to… Continue Reading