在asp.net中创建web方法 [英] creating web method in asp.net

查看:73
本文介绍了在asp.net中创建web方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建像' http://days.com/Services.asmx [ ^ ]在一个项目中

并希望在不同的项目中使用此链接将添加到Web引用中。

谢谢。

Hi, I want to create web method like 'http://days.com/Services.asmx[^] in one project
and want to use in different project where this link will add in web reference.
thank you.

推荐答案

查看此内容:

< a href =http://edn.embarcadero.com/article/30188> C#Builder WebMethod(服务)和消费者(客户端)教程 [ ^ ]


将此Web服务Web方法用于另一个项目,只需打开项目并添加具有适当名称的Web服务的.dll文件,并使用此名称作为接口或命名空间,然后您应该能够使用所有方法作为创建对象。
for using this web service web method to another project just open project and add .dll file of your web service with appropriate name and use this name as interface or namespace then you should be able to use all the method as creating object.


尝试ħ ttp://msdn.microsoft.com/en-us/library/byxd99hx%28v=vs.90%29.aspx [ ^ ]。


这篇关于在asp.net中创建web方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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