0

有人可以告诉我是否有方法让我使用WebConfigurationManager.OpenWebConfiguration()使用远程服务器,端口和虚拟目录?使用WebConfigurationManager.OpenWebConfiguration()函数使用远程服务器和端口?

http://msdn.microsoft.com/en-us/library/ms228063.aspxhttp://quickstart.developerfusion.co.uk/QuickStart/aspnet/doc/management/mgmtapi.aspx中引用的示例仅使用虚拟路径和服务器。

在我的设置中,我有一个web服务驻留在特定端口(例如1570)上的远程服务器的根目录(默认站点)上。我想连接并从此webservice的web.config文件中检索配置设置。

谢谢

回答

相关问题