问题
I just made a WCF REST JSON service for .NET 4 that uses crossdomainscriptaccessenabled ( http://msdn.microsoft.com/en-us/library/system.servicemodel.webhttpbinding.crossdomainscriptaccessenabled.aspx ) . Unfortunately for me, the service is to be used in Azure, and Azure STILL don't support anything more than .NET 3.5. So, my question is, how can I in the simplest possible manner add JSONP support to my .NET 3.5 WCF REST JSON service?
回答1:
Someone I know found this MSDN article that solves my problem:
http://msdn.microsoft.com/en-us/library/cc716898%28VS.90%29.aspx
来源:https://stackoverflow.com/questions/2851859/how-to-add-jsonp-support-in-a-net-3-5-wcf-rest-json-service