Simon Waight 8/16/2013

Portable Azure Mobile Services DTOs when using Xamarin and C#

Read Original

This technical article details a solution for creating reusable C# Data Transfer Objects (DTOs) for Azure Mobile Services in Xamarin projects targeting Windows Phone, iOS, and Android. It explains the challenge of serialization attributes not being uniformly supported across platforms and provides a workaround using compiler pre-processor directives (#if !WINDOWS_PHONE) to apply the correct DataMember attributes, ensuring proper data serialization and retrieval.

Portable Azure Mobile Services DTOs when using Xamarin and C#

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week