When developing an ASP.net application, it can be very useful to be able to quickly set up the project in your local IIS server so you can build it and start using it.

I have a couple of scripts that I like to drop into the root of my ASP.net repositories which will quickly set up IIS for your project.

These scripts depend upon the Carbon PowerShell module being available locally.

Install Website

This script will set up IIS, application pools, binding and local host file entries for your website.

Uninstall Website

This script will undo all of the good work carried out by the install script.