Create a new directory named WebApp1. If your using IIS
create a new virtual directory named WebApp1 that points to this directory and
on the ASP.NET tab select version 2.0.
If you are using Crimson Editor create a new project named
WebApp1 by selecting New Project from the Project menu. Save this file named
WebApp1.prj in the directory you created (Optional).
Using your text editor, create a new text file, copy Listing
1 into it and save the file as Default.aspx.
Listing 1 - Default.aspx
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Home Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>Home Page Content (Default.aspx).</p>
</asp:Content>
Using your text editor, create a new text file, copy Listing
2 into it and save the file as Web.config.
Listing 2 - Web.config
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<compilation debug="true" strict="false" explicit="true"/>
</system.web>
</configuration>
Using your text editor, create a new text file, copy Listing
3 into it and save the file as Default.aspx.
Listing 3 - MasterPage.master
<%@ Master Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Your Web Site</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<p>Master Page Content.</p>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</div>
</form>
</body>
</html>
If you are using Crimson Editor and have these 3 files still
open, you can click the Add All Open Files to Project button and then all 3
files should now be visible in the Project view. With Crimson Editor you can
add and remove files from the project at anytime using the Project view.