使用C#以编程方式更改Web引用 [英] Change Web Reference Programmatically Using C#

查看:67
本文介绍了使用C#以编程方式更改Web引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1:我为分布式应用程序开发了一个Windows客户端。因此,当此分布式应用程序将部署到其他网络时,此时将安装Web服务的计算机的IP地址未知,因此我希望在安装Web服务后添加IP地址配置功能。因此,可以在任何具有任何IP地址的计算机上安装后随时配置Web服务......


2:Windows客户端的相同问题....运行时的IP地址配置时间....


请尽可能提供代码示例....

等待回复....

Thanx。

1: I developed a Windows Client for a distributed application. So when this Distributed Application will be deployed to an other network, the IP address of the computer on which the Web Services will be installed is unknown at this point so I want to add the functionality of IP address Configuration after installing the Web Service. So that Web Services can be configured at any time after installion on any computer having any IP Address...

2: Same problem with Windows client....IP Address configuration at run time....

Please give code samples if possible....
Waiting for the reply....
Thanx.

推荐答案

我开发了一个分布式应用程序,并希望以编程方式在客户端配置Web引用而不使用C#中的Web引用选项...因为当这个应用程序将部署Web服务器的IP地址将被更改....
I have developed a distributed application and want to configure the web referenece at client side programatically with out using the Web Reference option in C#..because when this application will be deployed the Web Server ip address will be changed....



我开发了一个分布式应用程序并想要配置客户端的Web引用以编程方式使用C#中的Web引用选项...因为当部署此应用程序时,Web服务器的IP地址将被更改....
I have developed a distributed application and want to configure the web referenece at client side programatically with out using the Web Reference option in C#..because when this application will be deployed the Web Server ip address will be changed....



有没有bo请帮忙解决这个问题?????


Is there any body to help in this matter please?????



1:我为分布式应用程序开发了一个Windows客户端。因此,当此分布式应用程序将部署到其他网络时,此时将安装Web服务的计算机的IP地址未知,因此我希望在安装Web服务后添加IP地址配置功能。因此,可以在任何具有任何IP地址的计算机上安装后随时配置Web服务......


2:Windows客户端的相同问题....运行时的IP地址配置时间....


请尽可能提供代码示例....

等待回复....

Thanx。
1: I developed a Windows Client for a distributed application. So when this Distributed Application will be deployed to an other network, the IP address of the computer on which the Web Services will be installed is unknown at this point so I want to add the functionality of IP address Configuration after installing the Web Service. So that Web Services can be configured at any time after installion on any computer having any IP Address...

2: Same problem with Windows client....IP Address configuration at run time....

Please give code samples if possible....
Waiting for the reply....
Thanx.



有没有人可以帮忙解决这个问题?????


Is there any one who can help in this matter please?????


这篇关于使用C#以编程方式更改Web引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆