ASP.NET Logo Back to WebMatrix Home

 
Your First ASP.NET Page
Run a page using an IIS Web Server
In this walkthrough, you will save and run the ASP.NET page you developed in the previous section using an IIS web server. Note that you must have IIS already installed on your machine to perform this walkthrough.
  1. First shut down the ASP.NET Web Matrix Web Server. Right-click on the ASP.NET Web Matrix Web Server system tray icon (bottom right hand side of your windows desktop) and select Stop

    Stop Matrix Web Server

  2. Re-run the ASP.NET page (press the start button or hit F5). The Start Web Application dialog box will appear:

    Start Web App Dialog

  3. Click the Use a new IIS Vitual Root option.

     
  4. Type MatrixTour in the Application Name box.

     
  5. Do not select the Enable Directory Browsing check box (default).

     
  6. Click Start

     
  7. ASP.NET Web Matrix will then create a new IIS Virtual Directory called MatrixTour and your ASP.NET page will automatically appear in a new instance of your Web browser.

    Note that unlike the ASP.NET Web Matrix Web Server deployment option, there is no system tray icon or messaging notification when a page is deployed via the IIS Web Server option. Please use the IIS Administration tool to modify the web server settings or to remove the virtual directory you just created.

    Important: ASP.NET Web Matrix will not ask you to specify a Web Server again until you close and reopen the ASP.NET Web Matrix development environment and run the page again.

  8. Close the Web browser instance.

Next Step >>