您现在的位置是:首页 > 电脑 > 

改变asp.net 2的Web服务地址(change asp.net 2 web service address)

2025-07-18 18:27:15
改变asp.net 2的Web服务地址(change asp.net 2 web service address) 我正在开发一个应用程序,包括一个Web服务,在开发时我在本地运行服务在我的电脑上,而不是将服务发布到远程服务器上,我想知道如何获取我所获得的Web引用并只是更改将服务的地址发送到远程服务器以检查每件事情是否正常 I'm developing an
改变 2的Web服务地址(change 2 web service address)

我正在开发一个应用程序,包括一个Web服务,在开发时我在本地运行服务在我的电脑上,而不是将服务发布到远程服务器上,我想知道如何获取我所获得的Web引用并只是更改将服务的地址发送到远程服务器以检查每件事情是否正常

I'm developing an application that includs a web service, on development time I run the service locally on my pc, than I publish the service to a remote server, I wanna know how can I take the web reference that I got and just change the address of the service to the remote server to check that every thing is ok

最满意答案

您可以设置服务URL使用Url属性:

MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL;

You can set the service URL usign the Url property:

MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL;

#感谢您对电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格的认可,转载请说明来源于"电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格

本文地址:http://www.dnpztj.cn/diannao/654069.html

相关标签:无
上传时间: 2023-07-28 12:51:44
留言与评论(共有 20 条评论)
本站网友 半个西瓜
3分钟前 发表
在开发时我在本地运行服务在我的电脑上
本站网友 男友4
30分钟前 发表
包括一个Web服务
本站网友 东莞市委书记
30分钟前 发表
包括一个Web服务
本站网友 维他命是什么
5分钟前 发表
而不是将服务发布到远程服务器上
本站网友 杜比
13分钟前 发表
改变 2的Web服务地址(change 2 web service address) 我正在开发一个应用程序
本站网友 脚本错误
19分钟前 发表
I wanna know how can I take the web reference that I got and just change the address of the service to the remote server to check that every thing is ok 最满意答案 您可以设置服务URL使用Url属性: MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL; You can set the service URL usign the Url property
本站网友 乐都汇
23分钟前 发表
包括一个Web服务
本站网友 满记杨枝甘露
3分钟前 发表
改变 2的Web服务地址(change 2 web service address) 我正在开发一个应用程序
本站网友 房屋出租信息怎么写
4分钟前 发表
在开发时我在本地运行服务在我的电脑上
本站网友 视频截取
2分钟前 发表
MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL;
本站网友 产妇催乳食谱
16分钟前 发表
on development time I run the service locally on my pc
本站网友 大额可转让定期存单
6分钟前 发表
而不是将服务发布到远程服务器上
本站网友 中间体
4分钟前 发表
I wanna know how can I take the web reference that I got and just change the address of the service to the remote server to check that every thing is ok 最满意答案 您可以设置服务URL使用Url属性: MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL; You can set the service URL usign the Url property
本站网友 石狮租房网
19分钟前 发表
I wanna know how can I take the web reference that I got and just change the address of the service to the remote server to check that every thing is ok 最满意答案 您可以设置服务URL使用Url属性: MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL; You can set the service URL usign the Url property
本站网友 汽车知识
23分钟前 发表
MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL;
本站网友 房产增值税
9分钟前 发表
在开发时我在本地运行服务在我的电脑上
本站网友 黄英身高
9分钟前 发表
I wanna know how can I take the web reference that I got and just change the address of the service to the remote server to check that every thing is ok 最满意答案 您可以设置服务URL使用Url属性: MyWebService.Service1 service = new MyWebService.Service1(); service.Url = EWSERVICEURL; You can set the service URL usign the Url property
本站网友 九个月宝宝
30分钟前 发表
on development time I run the service locally on my pc
本站网友 东莞二手房交易流程
28分钟前 发表
改变 2的Web服务地址(change 2 web service address) 我正在开发一个应用程序