是否可以监控C#webservice?

时间:2011-06-22 10:48:08

标签: c# web-services iis

是否可以在面向公众的IIS服务器上内部托管C#webservice?

更新 - 我需要的只是确保服务已启动并正在运行。

如果是这样 - 最好的方法是什么?

提前致谢,

詹姆斯

1 个答案:

答案 0 :(得分:0)

Internet Information Services具有可用于监视活动Web和FTP连接的性能计数器......

http://technet.microsoft.com/en-us/library/cc728306%28WS.10%29.aspx

       To monitor active Web and FTP connections in IIS 6.0

     1.
  Open Administrative Tools, and then click Performance.
     2.
  Right-click the System Monitor details pane, and then click Add Counters.
     3.
  Do one of the following:
      * To monitor any computer on which the monitoring console is run, click Use local computer counters.
  -or-
      * To monitor a specific computer, regardless of where the monitoring console is run, click Select counters from computer, and specify a computer name or IP address.
     4.
  In Performance object, click:
      * Web Service to monitor active Web connections.
  -or-
      * FTP Service to monitor active FTP connections.
     5.
  Click Select counters from list, and select Current Connections.
     6.
  Click All instances.
     7.
  Click Add, and then click Close.