jmarter — 2007-09-18T21:42:16-04:00 — #1
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>
wwb_99 — 2007-09-19T08:04:35-04:00 — #2
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.
justinbezanson — 2007-09-19T11:08:34-04:00 — #3
mono-project.com is also an option.
jmarter — 2007-09-19T12:16:40-04:00 — #4
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.
mittineague — 2014-09-19T23:15:01-04:00 — #5
This topic is now archived. It is frozen and cannot be changed in any way.