IIS Administration API

FINALLY! Microsoft decided to make our life much easier by introducing IIS Administration API.

Even though there are many methods that can be used to manage IIS(appcmd, .Net, Powershell, GUI, etc..) all of them are “closed”.
IIS Administration API is an open and standard REST API interface that can be consumed regardless of the management platform you’re using.

Just imagine the possibilities:
– integrating IIS management to your existing management platform
– managing IIS clusters with ease
– deploying hundreds of websites in “seconds”
– limited web site migrations (I know you still have IIS 6 machines somewhere :D)
– etc…

Great demo of the service can be found on https://manage.iis.net.

So, what do you need to get this thing working?

1. Obviously, IIS 🙂
2. .Net core and ASP.Net Core module which can be downloaded from this https://go.microsoft.com/fwlink/?linkid=837808
3. Download the latest version of MS IIS Administration API from this link http://go.microsoft.com/fwlink/?LinkId=829373
4. Visit https://manage.iis.net
5. Click “Get Access Token”
6. Go wild 🙂

Also, take a look at API explorer before you dive into it – https://docs.microsoft.com/en-us/iis-administration/api-explorer/index

In the next post, I will show you how to use Powershell to create and manage your websites. Stay tuned.

Cheers, Alesandro.

Leave a Reply

Your email address will not be published. Required fields are marked *