C#Web服务建议 [英] C# Web Service advice

查看:92
本文介绍了C#Web服务建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

希望有人可以帮助我提供建议.

我有一个Windows应用程序,我想向其中添加Web服务.

我的问题是Web服务在服务器上运行,而我的应用程序在客户端上运行.

我可以通过添加Web引用并指定Url来添加服务.

但是,如果将Web服务移至另一台服务器,我将如何告诉客户端应用程序更改Url....


在Advance中致谢

Hi Guys

Hope someone can help me with advice.

I have a windows application that I want to add a web service to.

My question is that the web service is run on a server and my application on the client side.

I can add the service through Adding web reference and specifying the Url then.

But if the web service is moved to another server how will I tell the client app to change the Url....


Thanks in Advance

推荐答案

请参考此内容,
如何使您的Web参考代理URL动态化 [
Please refer this,
How to make your Web Reference proxy URL dynamic[^]


阅读本文:

这篇关于C#Web服务建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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