Running ASP.NET pages on Xampp

I have plenty of experience with HTML, CSS, and some experience with Javascript and other such scripting codes, and also know C#.

I just installed Xampp on my computer (runs a server off of XP OS’s) and tried a basic ASP.NET page, loading it through “http://localhost”, however the server-side part of the page does not work. Do I need to install any specific software in the web directory or anywhere else?

Here is my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="jmarter.css" rel="stylesheet" type="text/css" />
<script runat="server" language="C#">
protected void Page_Load(Object s, EventArgs e)
{
    lblTime.Text = DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello There!</p>
<p>The time now is: <asp:Label runat="server" ID="lblTime" /></p>
</body>
</html>

You are probably much better off either using the bundled development server or IIS to build your sites on.

If you are committed to Apache on windows, you will need to install mod_aspnet.

mono-project.com is also an option.

Thanks for the help. I’m not fully committed to it, right now it was just the quickest option for trying to learn more of the server-side technologies.