如何在不使用asp.net wcf中的代理的情况下异步调用restful wcf服务方法 [英] how to call restful wcf service methods asynchronously without using proxy in asp.net wcf

查看:80
本文介绍了如何在不使用asp.net wcf中的代理的情况下异步调用restful wcf服务方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在wcf服务中定义了某些方法(restful)



采用以下格式myservice.svc / my方法,但我想要wcf服务中的所有方法异步调用即不使用代理如何使用ajax调用实现此

i have defined certain methods in wcf services(restful)

in the following format myservice.svc/my method but i want all the methods in wcf services to be called asynchronously i.e without using proxy how to achieve this

推荐答案



您可以使用ajax调用并将其作为url通过服务uri。

你也可以传递价值。

然后解析json或其他。
using ajax call.
you can use ajax call and in that as url pass the service uri.
and you can also pass the value.
and then parse the json or other.


这篇关于如何在不使用asp.net wcf中的代理的情况下异步调用restful wcf服务方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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