开发者

How to receive arrays through WebHttpBinding?

Will anything like

    [OperationContract]
    [WebGet]
    string IWannaRead(int[] ids);

work? And how to form a link\url (www.example.com/service.svc?ids=1,2开发者_运维百科,3,4,5,6,7,8) for the request?


Yes, you can. It works exactly as you specified.


It is explained here:

http://social.msdn.microsoft.com/Forums/en/wcf/thread/2341c11e-92b3-4da4-aba5-858054f46c80

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜