2. Sport is an app for iOS and Android that allows “athletes” to
join different leagues and challenge other members. The
winner of a challenge advances rank.
The back-end is written in C# using Azure App Services.
https://github.com/xamarin/sport
What is Sport?
3. Things I dig about Xamarin.Forms
• XAML, Bindings and XAMLC
• Inheritable Styles
• Mostly single-codebase for UITest code
• It’s Open-Source - unseal away!
4. Things I dig about Azure
• Offline Sync
• Remote Debugging
• Entity Framework / WebAPI
5. Things to be aware of with Xamarin.Forms
• XAML schema is not identical to Microsoft XAML schema (it’s close)
• No RelativeSource for bindings
• Cannot mix navigation stacks – let Forms own it
• Threshold of UI complexity where the difficulty of UI skyrockets
7. Things to be aware of with Azure
• Offline Sync does not support relational properties
• Relational property data is not sent back with DTO by default
– use ExpandHandlers
• Use SoftDelete if you want to update deleted records on the
client
8. Tips and Tricks for Xamarin.Forms
• Use static converters to reduce instances and lines of code
• Ensure a ViewModel-per-ContentPage pattern with generics
• Use a Busy class to denote progress
• New up ContentPage instances on a different thread to keep the UI
responsive.
9. Tips and Tricks for Azure
• config.IncludeErrorDetailPolicy = IncludeErrorDetailPolicy.Always
• Use Postman to inspect your REST/JSON payloads
• Use Charles/Fiddler to sniff our your traffic