Sometimes it’s not the 101 tutorials you need to help you in your development journey but to just talk to someone who has experience in implementing that technology in the real world. What are the gotchas, things to avoid or best practices others have learned that can give you a leg up in implementing a new technology within your current architecture. In this session, we will cover real-world considerations in Xamarin.Forms projects such as UI design considerations when sharing a user experience across iOS, Android and Windows, including navigation paradigms, styling, and supporting older versions. We’ll also look at code-sharing pitfalls and best practices, choosing an MVVM framework, application resource sharing, and leveraging plugins and the Dependency Service to leverage platform-specific code. Lastly, we’ll talk about mobile DevOps, including source control in a cross-platform environment, gathering application analytics, crash logs, and handling app flighting during development and beta testing. Come learn from a wealth of knowledge accumulated in real-world cross-platform projects, and get ready to build your own.
3. Xamarin’s Unique Approach
Shared C# codebase • 100% native API access • High performance
Included in Visual Studio (free) • Open Source
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Logic
4. Xamarin + Xamarin.Forms
With Xamarin.Forms:
more code-sharing, native controls
“Classic” Xamarin approach
Shared UI Code
5. Xamarin Learnings from the DX Crew
Nick Landry
CCEH, Finaeos, Choice
Customer Care, Hendrick
Motorsports
Gavin Bauman
Shelfie, CCEH
OpportunitySpace
Shahed Chowdhuri
Hendrick Motorsports
David Giard
Choice Customer Care, Liquid
Greetings
Ian Philpot
Chefs for Seniors
Sarah Sexton
Choice Customer Care
James Sturtevant Urban
Refuge, CCEH
Dave Voyles
Hendrick Motorsports, Finaeos
6. Urban Refuge
Xamarin Case Study Video
https://channel9.msdn.com/Shows/Microsoft-Technical-Case-Studies/Urban-Refuge
10. Use Decide Screen-by-Screen
Xamarin.Forms is great for forms-based
screens. You can mix Xamarin.Forms with
the full power of Xamarin.iOS and
Xamarin.Android in the same app for
complete control over your app’s look and
feel.
Call Platform APIs via Shared Services
Need platform-specifc functionality within a
Xamarin.Forms page, such as querying the
accelerometer? We’ve included services that
quickly and easily abstract platform-specific
API calls to keep you writing as much shared
code as possible.
Embed Custom Views Anywhere
Not only are Xamarin.Forms pages
mixable with custom screens, you can
embed custom views built directly
against Xamarin.iOS and
Xamarin.Android into Xamarin.Forms
pages.
Xamarin.Forms: Mix-and-Match Screen-by-
Screen, Element-by-Element
See Samples in GitHub:
https://github.com/xamarin/xamarin-forms-samples/tree/master/Forms2Native
https://github.com/xamarin/xamarin-forms-samples/tree/master/Native2Forms
34. Online Microsoft training delivered by experts to
help technologists continually learn
Hundreds of courses for developers, IT Pros,
students, entrepreneurs and enthusiasts
11 different languages
More than 3M students registered
Build your own Learning Plan
All free!
http://www.microsoftvirtualacademy.com
35. Thank You!
Slides are posted in the conference repository. Demos are on GitHub.
Slideshare: www.slideshare.net/ActiveNick
Blog: www.AgeofMobility.com
Twitter: @ActiveNick
Mobile Apps: www.bigbaldapps.com
LinkedIn: www.linkedin.com/in/activenick
GitHub: github.com/ActiveNick
Email: nick.landry@microsoft.com