Spinning up a new application pool in IIS

The first step when adding a website to IIS is to configure the application pool that it will run in. This isolates the site from others on the server for better stability and security. On the stability front, each app pool runs its own worker process that, should it die or be taken offline intentionally, won't affect the others. As for security, you can customize the user account that the app pool process runs as. This way, you can give one website more or less access than another.

Getting ready

Create a new setup project and name it AppPoolInstaller.

How to do it...

In this recipe, we will add a new application pool to IIS. We'll configure its name, version of the .NET CLR to use, and the user account to ...

Get WiX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.