Pregunta

I am developing a WCF Service application with basicHttpBinding option. I chosed basicHttpBinding because my client could be a Java client, a Visual Basic Client etc.
Now i want to be sure that the datatypes which i used in my application are compatible and consumable with Java clients or other platform languages.
For instance, Which of the following .NET datatypes can be used without affacting interoperatablitiy?

  • DateTime
  • int
  • double
  • double?
  • float
  • float?
  • string
¿Fue útil?

Solución

I answer my own question.
I found a resource which tells the interoperability of data types between .Net server and Java client.

The documantation

The documantation says that using nullable data types wont make any headache to developers. However, i wont use nullable datatypes like double? int? etc. I will assing default values insead.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top