| |
| 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.
- 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.
- Re-run the ASP.NET page (press the start button or hit F5). The
Start Web Application dialog box will appear:
- Click the Use a new IIS Vitual Root option.
- Type MatrixTour in the Application Name box.
- Do not select the Enable Directory Browsing check box (default).
- Click Start.
- 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.
- Close the Web browser instance.
Next Step >> |
|