« Previous Next »

Thread: Microsoft.Web.Administration namespace?

Last post 09-21-2008 11:37 PM by erikkl2000. 19 replies.

Average Rating Rate It (5)

RSS

Page 1 of 2 (20 items) 1 2 Next >

Sort Posts:

  • 05-23-2006, 3:51 PM

    • RobertAllan
    • Not Ranked
    • Joined on 05-23-2006, 7:28 PM
    • Atlanta GA
    • Posts 4

    Microsoft.Web.Administration namespace?

    Did I read correctly, that I will be able to import the Microsoft.Web.Administration namespace into a Visual Studio 2005 Project, and programatically administer all facets and typical tasks of IIS, such as adding, modifying, deleting, enumerating, starting, stopping (etc); webs, ftp sites, application pools?

    I nearly fell off my chair upon reading that.

    If you tell me that there will be a Microsoft.DNS.Administration namespace in Vista, then someone from Microsoft is getting my write-in vote for President of Earth.

    Words fail me (wipes tear from eye)

    Robert Allan
    .Net Engineer
  • 05-23-2006, 4:27 PM In reply to

    • iisguy
    • Not Ranked
    • Joined on 04-18-2005, 9:17 PM
    • Posts 7

    Re: Microsoft.Web.Administration namespace?

    Yes, you read correctlly.

    The new API exposes the ability create websites, app pools, stop and start sites, and more. The new tracing APIs let you query from code the number of requests in an app pool and time they have been executing. Checkout the Videos ! Search under IIS7 and Videos in TechCenter.

    -brett hill

     

  • 05-23-2006, 4:31 PM In reply to

    • ericdeily
    • Top 150 Contributor
    • Joined on 01-19-2006, 1:48 AM
    • Redmond, WA
    • Posts 38

    Re: Microsoft.Web.Administration namespace?

    Robert - check out my walkthru on accessing RSCA data.  There's a code sample there for using Microsoft.Web.Administration to access data on worker processes, requests, and appDomains.  it's page 4 - http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=968&p=4.  And the same api's can be used to get and set config data too!

    -ericdeily
    Program Manager - IIS
    Release/Proj Mgmt & Support/Health/Instr/Tracing/Logging
  • 05-23-2006, 4:54 PM In reply to

    • RobertAllan
    • Not Ranked
    • Joined on 05-23-2006, 7:28 PM
    • Atlanta GA
    • Posts 4

    Re: Microsoft.Web.Administration namespace?

    This is great. No more shelling out or scripting or fighting with the System.Management namespaces.

    Thanks for the quick response

    Robert Allan
    .Net Engineer
  • 05-23-2006, 5:58 PM In reply to

    • ericdeily
    • Top 150 Contributor
    • Joined on 01-19-2006, 1:48 AM
    • Redmond, WA
    • Posts 38

    Re: Microsoft.Web.Administration namespace?

    agreed Robert -> my first series of demos on this took about twice as much code b/c I had to continue to use System.Management.ManagementBaseObjects (ugh).  Microsoft.Web.Administration is very nice - strongly-typed and nice intellisense support.

    -ericdeily
    Program Manager - IIS
    Release/Proj Mgmt & Support/Health/Instr/Tracing/Logging
  • 05-23-2006, 6:17 PM In reply to

    Re: Microsoft.Web.Administration namespace?

  • 05-24-2006, 2:30 AM In reply to

    • Bernard
    • Top 50 Contributor
    • Joined on 05-24-2006, 4:30 AM
    • Malaysia
    • Posts 291

    Re: Microsoft.Web.Administration namespace?

    LOL - another happy customer :)
    Cheers,
    Bernard Cheah
  • 05-30-2006, 9:03 PM In reply to

    Re: Microsoft.Web.Administration namespace?

    I have the same sensation. I vote that someone guy from Microsoft to be President Of Earth.
  • 05-30-2006, 9:32 PM In reply to

    Re: Microsoft.Web.Administration namespace?

    I'm working on several samples using this namespace as well as writing the documentation for these APIs. If you have any questions or requests for samples, I'd love to hear what they are. I can't guarantee that I can incorporate them, but I'd love to hear feedback on these.

    In general, this is one of my top favorite features of IIS -- then again, everything in IIS 7 is my top feature of IIS :)

    Tobin Titus - Site Manager
    Microsoft Corporation

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 05-30-2006, 9:40 PM In reply to

    • Bernard
    • Top 50 Contributor
    • Joined on 05-24-2006, 4:30 AM
    • Malaysia
    • Posts 291

    Re: Microsoft.Web.Administration namespace?

    I do have a question, how well does this work with the previous versions of IIS ?
    Cheers,
    Bernard Cheah
  • 05-30-2006, 9:53 PM In reply to

    • alexise
    • Not Ranked
    • Joined on 08-15-2003, 5:34 PM
    • Posts 8

    Re: Microsoft.Web.Administration namespace?

    It doesn't, unfortunately, it's IIS7 only.

    alexis

  • 05-30-2006, 9:59 PM In reply to

    • Bernard
    • Top 50 Contributor
    • Joined on 05-24-2006, 4:30 AM
    • Malaysia
    • Posts 291

    Re: Microsoft.Web.Administration namespace?

    Expected :)

    Cheers,
    Bernard Cheah
  • 05-30-2006, 10:44 PM In reply to

    Re: Microsoft.Web.Administration namespace?

    That's sort of the nature of the software industry though, right?  If you didn't have new features, what what would be the point of developing new software? 

    Tobin Titus - Site Manager
    Microsoft Corporation

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 05-30-2006, 11:50 PM In reply to

    • Bernard
    • Top 50 Contributor
    • Joined on 05-24-2006, 4:30 AM
    • Malaysia
    • Posts 291

    Re: Microsoft.Web.Administration namespace?

    Agreed. :p  yeah... more reasons for upgrade too :)

    Cheers,
    Bernard Cheah
  • 06-05-2006, 12:17 AM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 11:28 AM
    • Redmond
    • Posts 503

    Re: Microsoft.Web.Administration namespace?

    I use the Microsoft.Web.Administration quite a bit in the End-to-End walkthrough I just published. Have a look:

    http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=1076

     

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
Page 1 of 2 (20 items) 1 2 Next >
Microsoft Communities