[英]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. 我想编写一个服务,为我做一些IIS管理任务,比如创建虚拟目录或添加新的应用程序。
Is it possible to do some management of IIS by a C# application or WCF service. 是否可以通过C#应用程序或WCF服务对IIS进行一些管理。
It looks like you can use the Microsoft.Web.Administration api to do most tasks with IIS 7+. 看起来您可以使用Microsoft.Web.Administration api来完成IIS 7+的大多数任务。 Would that meet your requirements?
那会满足你的要求吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.