Click here to Skip to main content
11,641,224 members (61,960 online)
Click here to Skip to main content

IIsAdmin.NET: Create Multiple Web Sites Under Windows XP

, , 16 Jun 2005 281.3K 4K 123
Rate this:
Please Sign up or sign in to vote.
Tool for creating multiple web site definitions under Windows XP.

Sample Image - IIsAdminNet.jpg

Introduction

As web developers we all know that very rarely do we only get to work on a single site at a time. Many times we find ourselves juggling between web sites. As each site becomes more complex (virtual directories, web site configuration settings, etc.), the task of switching between different sites becomes more time consuming. Now throw in the fact that you can only create a single site under Windows XP Pro, and you have frustration waiting to happen.

Initial Solution

After looking for a bit, we were able to find a solution to the problem called IIS Admin. IIS Admin allowed for multiple site definitions to be created under Windows XP (with only a single site started at a time). At first this seemed like the answer to our prayers. We can create a separate site for each project, all the configuration changes would be saved with that site, and to switch we just start a different site. However, we soon realized IIS Admin came with a few interesting “features” of its own.

Initial Solution Drawbacks

First, the program did not show up in the taskbar. This meant that if the program lost focus it could be difficult to find again with multiple windows open. Second, if you created a site and failed to start it, the next time you opened IIS it would show up as an error. These among some others, proved to become a problem of its own when it came to introducing new developers to the program.

Final Solution

After dealing with explaining the program over and over, we decided to create IIS Admin in C# (hence IIsAdmin.NET was born) and while re-creating it, correct some of the features we found less then desirable. All of the interfacing with IIS is done via the Active Directory Service Interface (ADSI). Although the IIS ADSI provides much more functionality, we decided to keep IIsAdmin.NET’s primary function to creating the web site definition and switching between the active sites. All of the site management such as virtual directory creation can be done via IIS.

Sample screenshot

We also wanted to provide the code so others could pick up where we left off. Feel free to send us any improvements you make to be incorporated into future versions. Most of all enjoy, we hope it makes the task of switching between web projects frustration free.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Authors

Mark Belles
Software Developer (Senior)
United States United States
Senior Application Developer specializing in Windows desktop and network development.

Professional Experience
- B.S. of Computer Science (Graduated 2001 - PSU)
- Senior Application Developer (8+ yrs)
- Microsoft Certified Professional

Primary Interests
- C#, C++, HTML, Javascript
- XML, ASP.NET, Web Services, SOAP, UDDI
- Socket programming and anything network related
- Reflection, Serialization, and Plugin Frameworks
- Owner-drawn controls and GDI+ goodness

Gabe Wishnie
Web Developer
United States United States
.NET Software Developer

Education
- Working towards M.S. Computer Science
- B.S. Computer Science
- B.S. Computer Information Systems
- Minor Mathematics

Professional
- Microsoft Certified Application Developer
- Microsoft Certified Professional
- C# ASP.NET Developer (4 years)

Other Interests
- Flash Remoting
- Video Encoding (Windows Media and Flash Video)
- Microsoft Content Management Server

More Programming Thoughts and Tips
- http://gabewishnie.blogspot.com

You may also be interested in...

Comments and Discussions

 
Generaldon't have / want .net ? get the original IIsAdmin program. Pin
marioletto16-Nov-07 16:02
membermarioletto16-Nov-07 16:02 
GeneralNewbie -- trying to open a new web Pin
jno.2-Aug-07 4:19
memberjno.2-Aug-07 4:19 
GeneralRe: Newbie -- trying to open a new web Pin
Mark (Code6) Belles2-Aug-07 5:49
memberMark (Code6) Belles2-Aug-07 5:49 
GeneralRe: Newbie -- trying to open a new web Pin
usarrow232-Jul-08 18:17
memberusarrow232-Jul-08 18:17 
QuestionHow to remove entry? Pin
DEGT21-Jun-07 3:02
memberDEGT21-Jun-07 3:02 
GeneralGreat stuff!!! Was looking for something like this for ages! Pin
k-sea1-May-07 13:43
memberk-sea1-May-07 13:43 
GeneralGetting it to work with ASP.NET 2.0 Pin
DEGT3-Apr-07 10:08
memberDEGT3-Apr-07 10:08 
GeneralBrilliant Pin
rtbug2-Apr-07 13:57
memberrtbug2-Apr-07 13:57 
GeneralYes, yes, yes Pin
bedny2-Apr-07 9:14
memberbedny2-Apr-07 9:14 
GeneralWhere's the New Version! Pin
dba32115-Mar-07 17:37
memberdba32115-Mar-07 17:37 
GeneralRe: Where's the New Version! Pin
Gabe Wishnie16-Mar-07 6:40
memberGabe Wishnie16-Mar-07 6:40 
GeneralRe: Where's the New Version! Pin
Mark (Code6) Belles16-Mar-07 8:49
memberMark (Code6) Belles16-Mar-07 8:49 
GeneralRe: Where's the New Version! Pin
stevece22-May-07 4:13
memberstevece22-May-07 4:13 
GeneralRe: Where's the New Version! Pin
timgaunt6-Nov-07 23:21
membertimgaunt6-Nov-07 23:21 
GeneralSuggestions Pin
EblingMis13-Mar-07 3:50
memberEblingMis13-Mar-07 3:50 
GeneralNo More HTTP Support Across LAN Pin
clintonG10-Mar-07 4:05
memberclintonG10-Mar-07 4:05 
GeneralProblem with debug ... Please, help. Pin
gena8511-Jan-07 12:37
membergena8511-Jan-07 12:37 
GeneralGreat tool but... Pin
DavidBSmith14-Nov-06 9:51
memberDavidBSmith14-Nov-06 9:51 
GeneralRe: Great tool but... Pin
FreeToTry25-Apr-07 10:17
memberFreeToTry25-Apr-07 10:17 
QuestionUpdated Source Code Pin
ChrisAdams2-Nov-06 22:47
memberChrisAdams2-Nov-06 22:47 
QuestionHow to use with Visual Studio 2005 Pin
clintonG18-May-06 13:13
memberclintonG18-May-06 13:13 
AnswerRe: How to use with Visual Studio 2005 Pin
Gabe Wishnie18-May-06 15:21
memberGabe Wishnie18-May-06 15:21 
GeneralRe: How to use with Visual Studio 2005 Pin
clintonG19-May-06 10:37
memberclintonG19-May-06 10:37 
GeneralBeing prompted for a password Pin
pspeth16-Mar-06 7:45
memberpspeth16-Mar-06 7:45 
GeneralRe: Being prompted for a password Pin
Gabe Wishnie18-May-06 15:27
memberGabe Wishnie18-May-06 15:27 
JokeNice Bike Pin
v_xanthakis5-Mar-06 2:41
memberv_xanthakis5-Mar-06 2:41 
QuestionHow can I retrieve the physical location of a website Pin
Luis Cabrera13-Dec-05 5:58
memberLuis Cabrera13-Dec-05 5:58 
AnswerRe: How can I retrieve the physical location of a website Pin
Mark (Code6) Belles13-Dec-05 8:39
memberMark (Code6) Belles13-Dec-05 8:39 
GeneralRe: How can I retrieve the physical location of a website Pin
Luis Cabrera13-Dec-05 9:41
memberLuis Cabrera13-Dec-05 9:41 
AnswerRe: How can I retrieve the physical location of a website Pin
Gabe Wishnie13-Dec-05 17:09
memberGabe Wishnie13-Dec-05 17:09 
GeneralRe: How can I retrieve the physical location of a website Pin
Luis Cabrera14-Dec-05 9:52
memberLuis Cabrera14-Dec-05 9:52 
QuestionYour Opinion Needed - Continue With Next Version of IIsAdmin.NET? Pin
Gabe Wishnie2-Oct-05 16:52
memberGabe Wishnie2-Oct-05 16:52 
AnswerRe: Your Opinion Needed - Continue With Next Version of IIsAdmin.NET? Pin
Oskar Austegard16-Feb-06 5:37
memberOskar Austegard16-Feb-06 5:37 
GeneralRe: Your Opinion Needed - Continue With Next Version of IIsAdmin.NET? Pin
cdeshaw11-Oct-06 7:11
membercdeshaw11-Oct-06 7:11 
AnswerRe: Your Opinion Needed - Continue With Next Version of IIsAdmin.NET? Pin
Jeremy Mullinax-Hill13-Nov-06 4:42
memberJeremy Mullinax-Hill13-Nov-06 4:42 
AnswerRe: Your Opinion Needed - Continue With Next Version of IIsAdmin.NET? Pin
webber12345615-Feb-07 7:50
memberwebber12345615-Feb-07 7:50 
AnswerRe: Your Opinion Needed - Continue With Next Version of IIsAdmin.NET? Pin
dba32115-Mar-07 17:31
memberdba32115-Mar-07 17:31 
AnswerRe: Your Opinion Needed - Continue With Next Version of IIsAdmin.NET? Pin
Ilia Broudno25-Apr-07 10:30
memberIlia Broudno25-Apr-07 10:30 
QuestionHow to use with VS.net? Pin
aluminumcan22-Sep-05 8:56
memberaluminumcan22-Sep-05 8:56 
AnswerRe: How to use with VS.net? Pin
aluminumcan22-Sep-05 11:24
memberaluminumcan22-Sep-05 11:24 
GeneralRe: How to use with VS.net? Pin
Gabe Wishnie22-Sep-05 14:41
memberGabe Wishnie22-Sep-05 14:41 
AnswerRe: How to use with VS.net? Pin
Gabe Wishnie22-Sep-05 14:39
memberGabe Wishnie22-Sep-05 14:39 
GeneralIISAdmin minimized on Windows Startup Pin
ivanhalen16-Sep-05 2:14
memberivanhalen16-Sep-05 2:14 
GeneralRe: IISAdmin minimized on Windows Startup Pin
Gabe Wishnie16-Sep-05 15:00
memberGabe Wishnie16-Sep-05 15:00 
GeneralRe: IISAdmin minimized on Windows Startup Pin
Gabe Wishnie18-Sep-05 4:44
memberGabe Wishnie18-Sep-05 4:44 
GeneralRe: IISAdmin minimized on Windows Startup Pin
ivanhalen18-Sep-05 5:28
memberivanhalen18-Sep-05 5:28 
GeneralSmall Bug Pin
MartyMar15-Sep-05 11:43
sussMartyMar15-Sep-05 11:43 
GeneralRe: Small Bug Pin
Gabe Wishnie15-Sep-05 12:42
memberGabe Wishnie15-Sep-05 12:42 
GeneralRe: Small Bug Pin
MartyMar15-Sep-05 21:24
memberMartyMar15-Sep-05 21:24 
GeneralRe: Small Bug Pin
Gabe Wishnie16-Sep-05 14:59
memberGabe Wishnie16-Sep-05 14:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150731.1 | Last Updated 17 Jun 2005
Article Copyright 2005 by Mark Belles, Gabe Wishnie
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid