Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 598431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:23:15+00:00 2026-05-13T16:23:15+00:00

I am working on Configuring and manipulating and controlling IIS 6.0 and later versions

  • 0

I am working on Configuring and manipulating and controlling IIS 6.0 and later versions using ASP.Net based web application. I am considering WMI, ADSI, Managed API as my options.

I have a target Windows System WIN2k3 or later versions. The choice of language is C# and the application has to be built using ASP.Net.

This article on Provisioning Options in IIS 7 describes each of the methods, but I am a bit unsure about a couple things:

  1. Which is better or more powerful for the stated goal?

    • ADSI (System.DirectoryServices) or
    • WMI (Microsoft.Web.Management) or
    • Managed API (Microsoft.Web.Administratoion)?

    Correct me if i am doing something wrong here.

  2. Which option or technology is likely to be supported for later versions of IIS?

  3. Which option has the most flexibility and scalability?

  4. From where can i find the resources for any of the suggested/chosen technology?

I am less likely to work on II5.1 or below. So the compatibility zone starts from IIS 6.0 and above. The application has to be built using ASP.Net and un-managed code may be used if unavoidable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:23:16+00:00Added an answer on May 13, 2026 at 4:23 pm

    For IIS6 I’d use the System.DirectoryServices namespace which is a managed wrapper around ADSI. I find this simpler to use compared to working with the IIS WMI providers.

    For IIS7, and as Precipitous suggested, I’d use the new IIS 7 Managed Code Administration API (Microsoft.Web.Administration et al) . You can use the IIS6 compatibility components on IIS7 which maintain the old style ADSI API’s for consumers (but are a wrapper around the new IIS7 components) and they mostly work.

    However you do encounter problems with the ADSI wrappers. For example they are ignorant of Handler Mapping (analogous to an IIS6 Script Map) properties such as preConditions which, for example, permit multiple versions of ASP.NET’s handler mapping definitions to co-reside in the same site or application. The ADSI compatibility layer will create objects known as AboMapperCustom objects which are sub-optimal in their configuration and are not aware of these new features.

    Having two code-bases (one for IIS6 and one for IIS7) may seem like a lot of work, but to be honest it isn’t too bad. I work for a hoster, have been down this road, and we bit the bullet and decided that we’d maintain the old IIS6 code but start afresh with IIS7.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on configuring my CakePHP (1.3) based web app to run
I am working through the Microsoft .Net Framework--Application Development Foundation Training Kit book Chapter
Has anyone managed to get ASP.NET Forms Authentication (with cookies) working with a PhoneGap
I'm working on a website with legacy Classic ASP pages (being converted to ASP.NET
I'm having trouble configuring a web scraper that i'm working on for a project
I'm working on configuring a RollingFileAppender in log4net programmatically. I have something like this
Working on a small game using an HTML5 canvas, and javascript. And it's working
I'm configuring my solr for two cores and have got most of it working,
Hallo, I am configuring Solr. Everything ist working fine but one thing appears to
When configuring uwsgi django application for first time i had weird error. NGIX (configured

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.