如何在asp.net中使用webservice [英] How to using webservice in asp.net

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

问题描述

大家好。

我是asp.net mvc5的初学者,我有url webservice,我想在我的应用程序asp.net中使用这个url

i这样做

右键单击名称项目并在地址i中添加服务引用放入url并在操作中显示方法,然后确定

方法在服务引用文件夹中显示

i在这个步骤之后我不能做什么,应该在应用程序中编写什么代码

请任何人帮助我

谢谢.....

Hello everybody
I'm beginner in asp.net mvc5 and I have url webservice and I want using this url in my application asp.net
i do this
right click in name project and add service reference in Address i put the url and show the methods in operations and ok
the methods show in service references folder
i don't what can i do after this steps and what's the code must be write in the application
please any one help me
Thanks.....

推荐答案

这可以帮助你



了解ASP.NET中Web服务的基础知识 [ ^ ]

WCF RESTful服务和WebGrid - 第1部分 [ ^ ]
May this help you

Understanding the Basics of Web Service in ASP.NET[^]
WCF RESTful service and WebGrid in ASP.NET MVC 5 - Part 1[^]


请在下面查看。



http://www.c-sharpcorner.com/UploadFile/krishnasarala/accessing-wcf-service-in-Asp-Net-mvc-application/ [ ^ ]



使用ASP.NET MVC WebApi的JSON和RESTful Web服务 - 每个Web程序员应该知道的内容! [ ^ ]



http://stackoverflow.com/questions/7063978/how-to-consume-a-webservice- in-mvc [ ^ ]



http://stackoverflow.com/questions/6276979/how-to-consume-webservices-from-asp-net-mvc-application [ ^ ]
Please check below.

http://www.c-sharpcorner.com/UploadFile/krishnasarala/accessing-wcf-service-in-Asp-Net-mvc-application/[^]

JSON and RESTful Web services using ASP.NET MVC WebApi–Its what every Web Programmer should know ![^]

http://stackoverflow.com/questions/7063978/how-to-consume-a-webservice-in-mvc[^]

http://stackoverflow.com/questions/6276979/how-to-consume-webservices-from-asp-net-mvc-application[^]


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

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