In this episode Chris Risner and Haishi Bai are joined by Donna Malayeri, Program Manager on the Azure Mobile Services team. Donna starts with a quick review of what Mobile Services is and then dives into the offline data storage capabilities available as part of the client SDKs for Mobile Services. The offline capabilities make it easy to enable your mobile applications when they occasionally lose network connectivity or if they are only infrequently connected to the internet. Since the changes made to enable the offline scenarios are all client side, this feature works regardless of if you're using a Node.js Mobile Service or a .NET one. Donna demonstrates how to move from using the "always-connected" client code to using sync tables and sync contexts to handle offline connectivity and data storage. She also reviews optimistic concurrency and how it enables easy handling of conflicts from either the server or client side. Donna demonstrates all of this working on several client platforms.
Links from the show:
- Xamarin offline sync tutorial
- Xamarin samples: iOS, Android, Xamarin Forms
- Offline sync for Windows Store Apps video
- Offline for iOS Native: sample, tutorial, blog post
- Offline for Android Native: sample, blog post
- Offline deep dive