Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding entries in IIS
Message
From
24/01/2010 15:10:08
 
 
To
24/01/2010 13:01:58
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01445672
Message ID:
01445737
Views:
21
>>You don't say what version of IIS.
>>For IIS 7.0 check the Microsoft.Web.Administration namespace:
>>http://msdn.microsoft.com/en-us/library/microsoft.web.administration.aspx
>>Some simple examples here:http://learn.iis.net/page.aspx/165/how-to-use-microsoftwebadministration/
>>
>>If it's an earlier version there are a few options:
>>http://msdn.microsoft.com/en-us/library/ms525885.aspx
>>http://msdn.microsoft.com/en-us/library/ms524505.aspx
>
>Thanks, I have IIS 6.0 as I am running Windows Server 2003.
>
>From the documentation, it seems ADSI, WMI and ABO would be the ones to use. In all that, I saw that ABO was the recommended one. I am trying to identify the best one to use. As, I wouldn't want to start using an approach that would be already obsolete.

Hi,
No personal experience with any of those approaches but the main points seem to be:
(a) Both ADSI and WMI are using ABO under the covers.
(b) The link states WMI can *only* be used with IIS 6.0. But I don't think that's true - maybe they just mean it can't be used with versions *prior* to IIS 6.0. IAC probably irrelevant from your POV.
(c) There's nothing to indicate that you can use *any* of these methods with IIS7 so whichever you choose will have an obsolescence problem in that respect.

If you've used WMI or ADSI before I guess I'd just go with the one you're most comfortable with.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform