In this article you will learn how to execute an ASPX file from console. Requirements Platform : WIN NT 4.0 or Windows 2000 , .NET Framework Beta 2 Steps 1.Copy this code to a new file and save it as ConsoleHost.cs // project created on 2/5/2002 at 4:43 PM // compile csc ConsoleHost.cs /r:System.Web.dll using System ; using System.IO; using System.Web; using System.Web.Hosting; public class Co