ASP Installation

Using WebMatrix

ASP Installation using WebMatrix is a free tool that provides an easy way to build ASP pages.

WebMatrix contains:

  • Web examples and templates
  • Support for many different web languages
  • A web server (IIS Express)
  • A database server (SQL Server Compact)

With WebMatrix you can start with an empty web site or you can build on templates.

WebMatrix also has built-in tools for databases, web security, search engine optimization, and web publishing.

Create an Empty Web Site

Follow the three simple steps below to create an empty web site with WebMatrix:

  • Select a Template
  • Edit the Home Page
  • Run the Web Site

Step 1: Select an HTML Template

  • Start WebMatrix, select New.
ASP Installation
ASP Installation
  • From the template gallery, select Empty Site from HTML templates.

 

  • Name the site DemoWeb (or anything you like)and click Next:
ASP Installation
ASP Installation

 

  • WebMatrix creates a new web site and displays a workspace window.
  • In the left pane, select the Files workspace:
ASP Installation
ASP Installation

 

Step 2: Edit the Home Page

  • To edit your home page, double-click the file html.
  • Put the following content into the file:

 index.html

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”utf-8″ />
<title>Web Page Demo</title>
</head>
<body>
<h1>My First Web Page</h1>
</body>
</html>

Step 3: Run Your Web Site

  • In WebMatrix, click Run:
  • WebMatrix starts a web server and runs the page in your default browser:

ASP Output
ASP Output

Create an Empty ASP Web Site

  • Rename the home page from index.html to asp.
  • Now you are ready to start working with ASP.