我应该托管启用 ajax 的 wcf 服务吗?

发布于 2024-08-21 01:23:09 字数 144 浏览 2 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

喜你已久 2024-08-28 01:23:09

通过启用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文