I want to send the list of same-type items via GET to my WCF service. For example :
MySite.com?MyService.svc\MyMethod?Id=1&Id=2&Id=3 .....
And my method
[OperationContract]
[WebGet(ResponseFormat = WebMessageFormat.Json)]
public void MyMethod( ???????? )
{
//here i want to get the list of all the id's i've sent
}
Or may be there is another way to send such data (i mean, 'an array' of Id's with random length
UPD : I've tried a List and string [] (anyway, it is the string yeah, but) but Exception says : 'type 'System.String[]' is not convertible by 'QueryStringConverter'.'