Thursday, March 3, 2011

Creating a client from WCF service.. converting LIST<> to Array[]

A was getting the problem while downloading the contracts using the svcutil.exe, it was converting the List<> to Array[]. It happens because svcutil consider all lists to be array

So there is an option to download the List<> as well.

svcutil.exe /language:cs /out:g
eneratedProxy.cs /ct:System.Collections.Generic.List`1 http://satindersatty.com:1111/