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

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