Monday, August 17, 2009

How to Host ASP.NET Pages

Hosting ASP.NET pages on a Windows 2008 server requires the installation of several components, including Internet Information Service (IIS). ASP.NET pages have the extension .aspx, and they have code-behind files that are used to create dynamic pages. The two main languages for ASP.NET pages are C# and VB.NET. Regardless of the language you use, the Windows server needs to be enabled to host this platform.

  1. Step 1

    Click the Windows"Start" button and select "Administrative Tools." Click "Server Manager" in the menu to open the configuration window.

  2. Step 2

    Click the "Add Roles" button to start the installation wizard. From the main welcome window, select "Web server" for the type of configuration.

  3. Step 3

    Select the following roles:
    .NET Extensibility
    Request Filtering
    ISAPI Extensions
    Other roles are enabled by default. Leave these options checked. Click the "Next" button.

  4. Step 4

    Click the "Install" button at the confirmation screen. It may take several minutes for the new components to install. Click the "Finish" button after the installation.

  5. Step 5

    Confirm the installation by navigating a web browser window to "http://localhost." If the installation was successful, the IIS welcome screen is shown.

No comments:

Post a Comment