ASP "Hello World" program

Complete

OSNN Addict
Joined
25 Aug 2005
Messages
94
I have written my first "Hello World" program in ASP. I thought I would post here how it is done and ask if anyone can suggest how to incorporate C#.
The first step was to download the free "Microsoft Visual Web Developer 2005 Express Edition" from microsoft.com
The next step was to install and run this program. Then create a new web page by clicking on File -> New Web Page. This will bring up this windowL

From this window, pick "ASP.Net Web Site" and click the OK button.
Then I edited the Default.aspx file so it reads like this:
Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%
    HelloWorldLabel.Text = "Hello, world!"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL]">
<html xmlns="[URL]http://www.w3.org/1999/xhtml[/URL]" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div> 
    <asp:Label runat="server" id="HelloWorldLabel"></asp:Label>
    </div>
    </form>
</body>
</html>
And this works.
So the next step is to incorporate C# into this "Hello World" program. Can anyone make a suggestion?
 

Complete

OSNN Addict
Joined
25 Aug 2005
Messages
94
I just got this message:

while I am learning ASP.NET and getting some sample code.
How do I go about checking what version of IIS I have?
Since I already got an ASP program running, I guess I have the IIS covered, right?
 

Complete

OSNN Addict
Joined
25 Aug 2005
Messages
94
I added IIS as a component.
like this:

But now, something strange is happening. It is almost as if I have taken one step forward and two steps backwards. Even the most simple ASP.NET program (one I generate without modifying any code at all) produces this in the browser window when I build it and run it:
 

Members online

No members online now.

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,411
Members
5,591
Latest member
nodee