I am creating an API in WCF (.NET 4, C# ). I am taking a .NET List as input from client.
my only concern is that if my client is in a language other than .NET (like java), can i still accept List as an input and consume it as .net Lists? or i will have to parse java lists to .net lists? if i have to parse it to .net Lists then how i can do it?
Jump to Post
I never tried with List, but i think it's best to use an defined array, like MyObject. This way when .NET receives the data request it will know how to parse it.
Even using List, if it's a simple type(int, string, bool e etc) i think it would not …
All 2 Replies
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.