I populate the MyType list with 20 elements and pass it as a parameter to the WCF service.
The only problem is that when it gets there, the list has no items.
My service method:
MyMethod(List<MyType> myList, string bla)
I call it this: from a Windows Forms application:
myService.MyMethod(myList.ToArray(), "bla");
But when it gets into the WCF service, the array is empty. :(
Can someone help me understand why?
PS: My WCF service is a Windows Azure web role, but I don't think it changes anything in this cenario. Or that...?
source
share