Are standard C# class objects created in a WCF service multiplatform?

99 views Asked by At

I've written a WCF Service that is used to retrieve and update my database when requests are made from the client programs. Currently it only serves UWP apps and a WinForms desktop client, so I have used standard c# class objects for moving data around.

If I wanted to expand to also include non .NET applications(eg. android, ios, java etc), would these classes be usable by those platforms (when used with a service reference), or would I need to move to something else - such as JSON?

2

There are 2 answers

1
Vinoth On BEST ANSWER

For android or IOS better to move JSON

Some advantages of using JSON Click

5
realvictorprm On

According to what I've found, it should be possible to use our WCF service multiplatform. However it seems like that it still needs some changes and or using some additional frameworks. Look into this: Walkthrough - Working with WCF

This ends up using Xamarin with web service stuff. At least, Xamarin can be used with Visual Studio