Download and Install an ASP.NET Application

by Robert McMurray

[This is preliminary documentation and is subject to change.]

Overview

This walkthrough shows the steps to download and install an ASP.NET application using WebMatrix Beta, and includes an example that uses the ScrewTurn Wiki application.

Prerequisites

The following items are required to complete the procedures in this walkthrough:

  • You must be using a computer with one of the following operating systems installed:

    • Windows 7, Windows Vista, or Windows XP SP2 or a later version of Windows XP.
    • Windows Server 2008 or Windows Server 2008 R2.
    • Windows Server 2003 SP1 or later.
  • You must have WebMatrix Beta installed. For information about how to install WebMatrix Beta, see Microsoft Web Platform Installer 3.0.

Downloading and Installing ScrewTurn Wiki

To install ScrewTurn Wiki using WebMatrix Beta, first open WebMatrix. Then on the WebMatrix Beta Quick Start page, click Site from Web Gallery.

Screenshot of the navigation icons on the Web Matrix Quick Start page.

When the Site from Web Gallery wizard opens, click ScrewTurn Wiki, and then click Next.

Screenshot of the Web Gallery Wizard with Screw Turn Wiki 3 dot 0 selected.

WebMatrix uses a SQL Server database as part of ScrewTurn Wiki. If SQL Server is not installed on your local computer, you'll be prompted to install SQL Server Express. If you would like to use a local installation of SQL Server, choose Yes, install it on my machine, and then click Next. To use a remote installation of SQL Server, choose No, use a remote server.

Screenshot before installing S Q L Server on a local computer.

If you are prompted to enter the SQL Server administrator password, enter a password and then click Next.

Note

The SQL Server administrator account is used for administering the SQL Server database.

Screenshot of setting the authentication mode to Mixed Mode and specifying the administrator password.

On the Accept EULA page, click I Accept.

Screenshot before accepting the E U L A from each third-party application involved.

On the next page, WebMatrix keeps you informed of the download and installation status.

Screenshot of the in-progress download and installation screen.

When you are prompted, enter the following information:

  • Enter the instance name of your copy of SQL Server. For example, if you are using SQL Server Express on your local computer, you can use the name ".\SQLEXPRESS".
  • Enter a database name for your ScrewTurn Wiki application. You can choose any name for your database, such as "ScrewTurnWiki" if you are creating your first ScrewTurn Wiki site on your local computer.
  • Enter the database administrator name and password – the SQL Server administrator account and password for your instance of SQL
    Server.
  • Scroll down to enter a user name and password for the Wiki database that you are creating. This is not the administrator password
    for SQL Server; it's the account for the database that WebMatrix will create for the ScrewTurn Wiki application.

Once you have entered all of the required information, click Next.

Screenshot of the top of the form before creating a new database with the specified Application parameters.

Screenshot of the bottom of the form before creating a new database with the specified Application parameters.

On the next page, WebMatrix will keep you informed of the installation status.

Screenshot of the in-progress download and installation for the new database.

After the installation has completed, WebMatrix lists everything that was installed. Click OK to close the Site from Web Gallery wizard.

Screenshot of the confirmation page after successfully downloading Screw Turn Wiki and creating a new database.

After the Site from Web Gallery wizard has closed, WebMatrix automatically opens your ScrewTurn Wiki application.

Screenshot of the new Screw Turn Wiki application page.

You can customize the ScrewTurn Wiki application for your use, test your website locally using the IIS Express Web server that comes with WebMatrix Beta, or publish it to a public website.