Hello,
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?
nice_candy
0
Newbie Poster
Recommended Answers
Jump to PostI 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
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.