Welcome to weblogs.com.pk Sign in | Join | Help

Running ASP.NET v1.1 and v2 sites side by side

IIS6 features multiple application pools; an application pool is basically a process that handles the web requests. These application; also loads the runtimes and script engines to server dynamic content; like ASP, PHP, Microsoft.NET for ASP.NET and so forth. This is quite natural; that only one version of one engine/runtime can get loaded into one application pool; e-g Microsoft.NET v1.1 or Microsoft.NET v2. If you want to host two sites; one using v1.1 and the other v2 (and I think same will apply for the scenario where one is using PHP4 and other using PHP5) you should setup two application pools and run the two sites in their respective application pool.

Below is one such configuration; where I am using DefaultAppPool for v2 sites and DotNet11 for v1.1 sites. Please note; you also need to setup Microsoft.NET runtime version from ASP.NET tab. While creating the application pool; you don’t have to do anything special; you can use DefaultAppPool as template for creating DotNet11...

Published Wednesday, February 15, 2006 12:10 PM by khurram

Comments

# re: Running ASP.NET v1.1 and v2 sites side by side

Wednesday, February 15, 2006 3:56 PM by kadnan
nice,but as far as i remembered,this feature was already in apache servers,not sure though.Anyways this feature is really helpful,both in managment point of view as well as performance.

IIS7 has adapted apache's approach to save configurations,that is 'file based' configuration for Hosts etc.

# re: Running ASP.NET v1.1 and v2 sites side by side

Wednesday, February 15, 2006 6:45 PM by Khurram
IIS6 also stores configuration files in XML (File); and at the same time it provides ADSI interface to access its configuration programmatically; super cool for programmers.

And if we change config programmatically we dont need to restart the IIS process; unlike Apache where on updating its httpd.conf you need to restart its process...
New Comments to this post are disabled