开发者

How to receive arrays through WebHttpBinding?

开发者 https://www.devze.com 2023-01-01 23:02 出处:网络
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

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

精彩评论

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