Configuring websites can be a tedious task, especially if you have large systems to manage, such as hosting providers do. If you are tired of doing this sort of thing manually, Visual Studio Magazine has published a detailed guide on using .Net code to do this for you.
This allows creating new sites, creating app pools and customizing configuration, all from managed code, and can save a lot of time for developers and system administrators.
For more information, visit the article.
Read the complete post here