How to add JSONP support in a .NET 3.5 WCF REST JSON service

ⅰ亾dé卋堺 提交于 2019-12-11 15:40:18

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!