Create an Application pool in IIS

A

Anders Aleborg

How can I create a new Application pool in IIS with C#?
Is it possible at all?
 
A

Arild Bakken

I think you should be able to do it with the DirectoryServices library. It
actually just wraps ADSI, and can be used to access the IIS ADSI objects.
Look in the docs on IIS Administration with ADSI to find the path syntax,
objects, methods and properties to use. Then use the Invoke() method etc on
the DirectoryEntry object.


Arild
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top