9

Programming the Sending of Emails yourself

There are (almost) as many email components as there are grains of sand on a beach, and many of them even are free. Certainly (almost) everyone has used them, be it AspMail, CDONTS, SA-SmtpMail or one of many others. Something… Continue Reading

4

Sending Email with ASP.NET

Something found on every web page today is an email form of some sort. In all probability this will not change anytime soon, therefore I will demonstrate today how to send email via ASP.NET: from plain to HTML mail and… Continue Reading

4

In a Class of its own – the .NET Zip Library

The .NET Framework contains several hundreds of classes, yet something is missing: there is no class for compressing and decompressing Zip archives. This omission however can be made up for by using the .NET Zip Library (NZipLib) – it supports… Continue Reading

Uploading Files with ASP.NET

Something that could not reasonably be done under ASP without a third party component was the uploading of files to the web server even though the uses of this feature range from content management systems to online cost estimates for… 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