Cross-site ajax call to a WCF Service

前端 未结 4 1554
陌清茗
陌清茗 2021-02-06 18:09

Is it possible to do a cross-site call, in Javascript, to a WCF service?

I don\'t mind if it\'s a POST or a GET.

But I\'ve heard that these days, browsers don\'t

4条回答
  •  梦谈多话
    2021-02-06 18:34

    To expand on Ben's answer... I extended our WCF service to support JSONP calls from jQuery using code similar to this example from Microsoft:

    http://msdn.microsoft.com/en-us/library/cc716898.aspx

提交回复
热议问题