Succeeding with Xamarin
summary
Practical roadmap for sharing C# mobile code: use a layered .NET Standard library, keep UI native or Xamarin.Forms embedding for generic screens, and use MVVM + Prism for constructor injection instead of service locators. Message passing via MessagingCenter decouples Forms and native layers. Expect old phones to take 10–15 seconds to cold start unless Android AOT/linking and multi‑dex are enabled; packaging drops readable DLLs but increases APK (demo ~21 MB, Mono runtime ~10 MB) and can stretch CI builds to 80–90 minutes.
AI-written summary · about
chapters (49)
- 0:00Intro
- 0:10Big Ben
- 1:13Filip Ekberg
- 2:30The promise of Xamarin
- 3:51How to succeed with Xamarin
- 6:18The promise with Xamarin
- 7:40The problem with sharing code
- 8:08Device fragmentation
- 9:25Abstraction
- 9:50Sharing
- 13:58Patterns
- 14:20Why Patterns
- 15:29Decouple
- 16:17Platform Specific
- 16:30NFC
- 17:17Compiler directives
- 18:21IoC containers
- 19:45Service locator pattern
- 20:09Service locator code
- 24:46Dependencies
- 25:23Service Locator
- 26:04Salmon Forms
- 28:05Salmon Embedding
- 28:22Salmon Forms Embedding
- 29:12iOS Forms Embedding
- 29:30Android Forms Embedding
- 34:18Dependency Injection
- 35:09Messaging Center
- 35:43View Models
- 40:40MVVM Pattern
- 42:08Code Example
- 47:09Ahead of Time Compilation
- 47:31Unhappy Customers
- 48:39Package Selective Projects
- 49:24APK File
- 49:49assemblies
- 50:36lip
- 51:09multi decks
- 51:37packaging
- 52:39build
- 53:16finding the right people
- 53:56not to use Xamarin
- 54:37native compiled binaries
- 55:02justintime compilation
- 55:30obfuscation
- 55:53compilation
- 56:44how to succeed
- 57:07minimize app size
- 57:34wrap up
related talks
58mSuccessful Code Sharing Principles for Mobile Development
41mCode Quality & Performance with Xamarin
50mXamarin Forms: Native iOS, Android & WP Apps from one C# Codebase
48mXamarin.Forms: Native iOS, Android, and Windows Phone apps from ONE C# Codebase
34mBuilding mobile applications with .NET Xamarin
58mBuild Cross-platform Apps with .NET MAUI
01h 01mWhat's new in Xamarin.Forms
41mBuilding great apps with Xamarin.Forms
