views:

38

answers:

0

How can I best create a webservice method which returns JSON data that is to be consumed by an application on a different domain? The following article talks about how to set it up:

http://www.codeproject.com/KB/webservices/ASPNET_JSONP.aspx

I havent tried it out yet but it seems like there are a lot of steps and the ajax client has to do some extra work.

My question, is there a better way to do this?

Also, I dont know too much about WCF services. Would I still have to go through a lot of work to enable JSONP?

Thanks in advance.