Inside a website, we can add two types of folders: virtual directories and web applications. Virtual directories simply map to folders outside our website's root. Web applications, on the other hand, are folders that can host entirely isolated modules. For example, we may develop a web application for a login page and another for a shopping cart. Their URLs might be
mysite.com/ShoppingCart. Each will get its own app domain to run in and could be completely oblivious to the other, with its own configuration, application pool, and worker process. However, to the end user, they will appear to be integrated parts of the same site.
To prepare for this recipe, perform the following steps:
Create a new setup project and name it
IIsExtensionto the project by right-clicking on the References node in Solution Explorer and going to Add Reference... | WixIIsExtension.dll | Add | OK.