Microsoft IIS 10.0 – Creating different application pools in IIS 10.0

How to Install Intellij IDEA on Windows 10

In this recipe, we are going to create an application pool that supports .NET versions 2.0 to 3.5. We already have the default application pool available for 4.0. This recipe will guide you through creating the different application pools you require.

Getting ready

In this recipe, we need IIS 10.0 and .NET framework 3.5. You should have administrative privileges.

How to do it…

  1. Open Server Manager on Windows Server 2016. Click on the Tools menu and open IIS Manager.
  1. Expand the IIS server ( WIN2016IIS). You’ll get the listed Application Pools. Have a look:

  1. This screenshot shows that under the application pools, we have DefaultAppPool with the Status showing Started, version v4.0, and Managed Pipeline showing Integrated.
  2. Let’s create a new application pool for v2.0 and an integrated pipeline.
  1. Click on Add Application Pool in the Actions window, which is available on the right-hand side. You will get the Add Application Pool wizard:
  1. Choose an application display name according to your application name to identify it easily. I’ve named my pool 2and3.5AppPool. The name shows that it will support both 2.0 and 3.5 .NET framework versions.
  1. Next, we have .NET CLR version. Click on the dropdown menu and select .NET Version V2.0.50727. This .NET CLR version supports 2.0 and 3.5 framework websites.
  1. Next, we have the Managed pipeline mode dropdown menu. We can select from Integrated or Classic mode. We will select the Integrated managed pipeline mode in this example.
  2. You can also select the auto-start option while creating the application pool. Select Start application immediately so that once the application pool is created, it starts automatically. If you uncheck the start application checkbox, you can start it later manually from the Actions window. Click on the OK button. Now you have successfully created your application pool. You can find the newly created application pool in the Application Pools list.

How it works…

Application pools process one or more web applications. We created an application pool, for which we have to set the website property to update configurations. You may set the property of the framework to one that your web application supports.

In the previous screenshot, you will see the Edit Site property, where you can select your own application pool in the drop-down list. In the next section, we will get into more detail regarding application pool configuration.

Comments are closed.