Search code examples
ajaxwcfproduction-environment

Should i host my ajax enabled wcf service?


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.