【发布时间】:2011-10-11 19:24:14
【问题描述】:
有没有一种简单的方法可以让 JSONP 为新的 WCF Web API 休息服务工作?
我试过这个没有运气
<standardEndpoints>
<webHttpEndpoint>
<standardEndpoint name=""
helpEnabled="true"
automaticFormatSelectionEnabled="true"
defaultOutgoingResponseFormat ="Json"
crossDomainScriptAccessEnabled="true"/>
</webHttpEndpoint>
</standardEndpoints>
【问题讨论】:
标签: c# c#-4.0 wcf-web-api