views:

95

answers:

1

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...

+1  A: 

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.

Darin Dimitrov
@Darin i use it only within my domain.... So there wont be a problem am i right..
Pandiya Chendur
**Subdomain** should be the same as well.
Darin Dimitrov