我应该托管启用 ajax 的 wcf 服务吗?
我的 Web 应用程序使用启用 ajax 的 wcf 服务,到目前为止一切都很好...
但是当我将应用程序移动到生产服务器时该怎么办...我应该托管启用 ajax 的 wcf 服务吗?...任何人的任何建议谁有托管支持 ajax 的 WCF 服务的经验...
My web application uses an ajax enabled wcf service and everything is fine as of now...
But what about when i move my application to production server.... Should i host my ajax enabled wcf service?... Any suggestion from anyone who had experience in hosting an ajax enabled wcf service...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过启用 AJAX 的 WCF 服务,我想您指的是使用 webHttpBinding 公开端点的 WCF 服务,该端点是对某些数据进行 JSON 编码。只要您启用 AJAX 的 Web 服务托管在与使用该服务的应用程序相同的域和子域上,就应该没问题。
By AJAX enabled WCF service I suppose you mean a WCF service that exposes an endpoint using
webHttpBinding
which is JSON encoding some data. As long as your AJAX enabled web service is hosted on the same domain and sub-domain as the application consuming it you should be fine.