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
精彩评论