Kees C. Bakker
Kees C. Bakker

Reputation: 33431

How to manage IIS from C#?

I would like to write a service that does some IIS management tasks for me, like creating virtual directories or adding new applications.

Is it possible to do some management of IIS by a C# application or WCF service.

Upvotes: 6

Views: 5439

Answers (1)

Davin Tryon
Davin Tryon

Reputation: 67336

It looks like you can use the Microsoft.Web.Administration api to do most tasks with IIS 7+. Would that meet your requirements?

Upvotes: 7

Related Questions