一种应用程序,用于获取托管在远程服务器中的网站的IIS和应用程序池详细信息 [英] An Application which fetches IIS and App Pool details of website hosted in remote server
本文介绍了一种应用程序,用于获取托管在远程服务器中的网站的IIS和应用程序池详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个用C#创建Web应用程序的任务,该应用程序将获取托管在远程服务器(相同位置)中的网站的IIS和应用程序池详细信息。任何想法或帮助都非常感谢!
I got a task of creating an Web application in C# ,which fetches IIS and App Pool details of Website hosted in the remote server(same location).Any idea or help is well appreciated!!!
-Renji
推荐答案
这在某种程度上是一个广泛的问题,但为了对您有所帮助您可以从以下几点开始:
This is somehow a broad question, but in order to help here are some points you can start from:
- 在IIS上获取网站名称:
System.Web.Hosting.HostingEnvironment。 ApplicationHost.GetSiteName()
- 要获取网站和虚拟目录的列表,请检查以下内容:
- 管理IIS: http:// www.codeproject.com/Articles/99634/Use-C-to-manage-IIS
- 获取IIS版本:如何使用C#检测IIS版本?
- 获取站点状态: 以编程方式从IIS获取站点状态,获取COM错误
- get the website name at IIS:
System.Web.Hosting.HostingEnvironment.ApplicationHost.GetSiteName()
- to get the list of websites and virtual dirs, check this: How to programmatically get sites list and virtual dirs in IIS 7?
- to manage IIS: http://www.codeproject.com/Articles/99634/Use-C-to-manage-IIS
- get IIS version: How to detect IIS version using C#?
- get site status: Programmatically get site status from IIS, gets back COM error
我想这足以让您开始探索与IIS相关的所有内容,希望对您有所帮助。
I guess this is enough for you to start exploring everything related to IIS, hope it helps.
这篇关于一种应用程序,用于获取托管在远程服务器中的网站的IIS和应用程序池详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文