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">
<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();
<p>The time now is: <asp:Label runat="server" ID="lblTime" /></p>
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.
This topic is now archived. It is frozen and cannot be changed in any way.