是否有可能使用WCF服务,而不是的.asmx Web服务使用AJAX Control Toolkit的幻灯片扩展? [英] Is it possible to use WCF service instead of .asmx web service with AJAX Control Toolkit Slideshow extender?

查看:120
本文介绍了是否有可能使用WCF服务,而不是的.asmx Web服务使用AJAX Control Toolkit的幻灯片扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个工作的WCF服务,我可以通过AJAX调用JavaScript程序。我不能让它与Ajax控件工具包的幻灯片扩展工作。没有错误报道,幻灯片只是不加载和运行。我可以写AJAX的JavaScript程序在页面中,并成功地从WCF服务(图像阵列)访问返回结果。我可以使用幻灯片扩展,而无需使用的.asmx Web服务的问题,但将preFER如果可以使用WCF服务。

I have a working WCF service that I can call via AJAX javascript routine. I cannot get it to work with the Slideshow extender in the Ajax Control Toolkit. No errors reported, slideshow just does not load and run. I can write AJAX javascript routine within the page and successfully access the return results from the WCF service (array of images). I can use the Slideshow extender without problem using an .asmx web service, but would prefer to use a WCF service if possible.

推荐答案

我不知道这里的​​具体的例子(Ajax控件工具包幻灯片扩展),但在一般情况下,是的,你可以从阿贾克斯访问WCF服务 - 见这里:

I'm not sure about the concrete example here (Ajax Control Toolkit Slideshow extender), but in general, yes, you can access WCF services from Ajax - see here:

  • Access an AJAX enabled WCF Service
  • JSON-enabled WCF Services in ASP.NET
  • Ajax Autocomplete Extender with WCF

希望这有助于一点!

马克·

这篇关于是否有可能使用WCF服务,而不是的.asmx Web服务使用AJAX Control Toolkit的幻灯片扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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