WCF netcfsvcutil.exe

  • Thread starter Thread starter Chris Oswald
  • Start date Start date
C

Chris Oswald

Why does the following command not work the same on svcutil.exe and
netcfsvcutil.exe? My methods that return a generic list look like
arrays on the client when run with netcfsvcutil.exe. Is this a bug?


netcfsvcutil.exe /language:VB /
collectionType:System.Collections.Generic.List`1 http://localhost/test.svc
 
I've not tried this as I use DTOs that wrap the data. This looks like a bug
to me.

Anyway I'd use a generic Collection
(System.Collections.ObjectModel.Collection<>) not List as List is not very
interoperable. I take it editing the proxy by hand fixes the issue?
 
Back
Top