Should i host my ajax enabled wcf service?
-
19-09-2019 - |
Question
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...
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow