Deploy Web Application

by Emanuele 11/6/2007 12:34:00 PM
Introduction

This article covers how to deploy a Web Application on the server with IIS 6. The article targets the developers that don't know very well the deployment of Asp.Net application.

Creating a Virtual Directory

A virtual directory is an alias to the physical directory, but it may be access from internet.
The better way to create a virtual directory is the follow method:
  • open IIS Manager under Control Panel --> Administrative Tools --> Internet Information Services
  • Expand your local computer node, right click on the website if you want and click New > Virtual Directory
  • Enter the name of our virtual directory and choose the physical path where the our application is.
  • Specify access permissions for the users that use our application

Configuring Asp.Net version

Sometimes the server that you use, have both framework installed. We need to specify the appropriate framework to run our application correctly.
Right click on the virtual directory and select Properties.
In the Asp.net tab select the correct version of framework and click Ok.

Configuring Application pools

The application pool is a functionality that are introduced with IIS 6 to isolate web application into a group called applications pools.
With that the web applications run under a worker process called w3p.exe. The applications in the same group, run under the same worker process.
A new application pool can create with IIS Mananger.
Select the application pools node, right click anc New > Application Pool. Type a pool application ID.
There are some options to setup for application pool but for this time, it's all.

Associating site with application pool

We need to associate our site with our application pool we created. Right click on the our virtual directory and go to tab "Home Directory". Select the application pool we created from the drop down list and click Ok.

Related posts



Powered by BlogEngine.NET 1.3.1.0
Theme by Emanuele Bartolesi

About the author

Name of author Emanuele Bartolesi
I'm a senior developer and project manager.

Contact me Contact me

Calendar

<<  December 2008  >>
MoTuWeThFrSaSu
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in

Download Day 2008