I have an ASP.Net page with a C# code behind.
However, I\'ve been asked to not use a code behind - so that it will be easier to deploy in SharePoint.
Is the
File: logdate.aspx
<%@ Page Language="c#" %> <%@ Import namespace="System.IO"%> <% StreamWriter tsw = File.AppendText(@Server.MapPath("./test.txt")); tsw.WriteLine("--------------------------------"); tsw.WriteLine(DateTime.Now.ToString()); tsw.Close(); %> Done