如何找出哪些WCF服务托管 [英] How to find out which wcf services are hosted
本文介绍了如何找出哪些WCF服务托管的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能找出WCF服务目前托管的,包括像基址的信息? (用C#)
How can I find out what wcf services are currently hosted, including information like the base address? (with C#)
驻留在本地机器上(使用Visual Studio或IIS)
hosted on the local machine (with Visual Studio or IIS)
推荐答案
有许多不同的方式来承载WCF组件 - IIS,Windows服务,控制台应用程序,等等等等,我不认为有一个编程的方式来发现和遍历他们。
There are lots of different ways to host wcf components - IIS, Windows Services, console apps, etc etc. I don't think there's a programmatic way to discover and iterate over them all.
这篇关于如何找出哪些WCF服务托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文