如何在MVC中使用ajax调用webservice [英] how to call a webservice using ajax in MVC

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

问题描述

嗨朋友



我想知道如何使用Ajax调用MVC中的web服务可以有人用一个例子来解释我..在我的项目中webservice是一个不同的我必须在MVC中调用该特定服务..我该怎么做

Hi Friends

I wanted to know how to call a webservice in MVC using Ajax can someone explain me with a example .. In my project webservice is a different section I have to call that particular service in MVC .. how can I do that

推荐答案

参考这篇CP文章:

带有ASP.NET MVC的JQuery AJAX [ ^ ]

使用jQuery来使用ASP.NET MVC JSON服务 [ ^ ]



-KR
Refer this CP articles:
JQuery AJAX with ASP.NET MVC[^]
Using jQuery to Consume ASP.NET MVC JSON Services[^]

-KR


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

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