IIS Automation (1/6)
This tutorial shows how various IIS tasks can be automated. Microsoft provides native and .NET APIs to the IIS server and its configuration files.
Starting the IIS server, stopping it and various similar operations can be performed programmatically in the same way as for other Windows services. We show how to do so on page 2 using the command line, C# and C++.
Editing the configuration of the server and the individual websites can be done in C++ using the
Application Host Administration API,
AHAdmin for short. It can be done in C# using the
described in the official documentation on MSDN at
Tutorials showing how to use this API start from page 3.
blog comments powered by Disqus