As the mobile landscape continues to expand and evolve managing multiple code bases in different programming languages and development tools can become a nightmare fast. In this session you will learn about the technology that Xamarin offers and how it works to enable developers to leverage a shared C# code base across all mobile platforms.
James will walk you through developing, designing, deploying, and optimizing your first mobile apps for iOS, Android, and Windows from a single code base. You will walk away with the knowledge to build cross platform mobile app with C# features such as LINQ, async/await, events, and delegates and inside Visual Studio.
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Native iOS and Android Development with Xamarin
1. Create native iOS & Android apps
with Visual Studio and Xamarin
James Montemagno
@JamesMontemagno
2. Who’s this guy?
James
Montemagno
Principal Program Manager – Xamarin, Microsoft
motz@microsoft.com motzcod.es @JamesMontemagno
Weekly development podcast
mergeconflict.fm
14. Native performance
Xamarin.iOS does full Ahead Of Time
(AOT) compilation to produce an ARM
binary for Apple’s App Store.
Xamarin.Android takes advantage
of Just In Time (JIT) compilation on
the Android device.
ARM
BINARY
Runs
natively
.APPAOT
.NET
C#
Bindings
.APKCompile
and Link
.NET
C#
Bindings
IL
+
JIT
Runs
natively
15. ✓ Always up-to-date
Same-day support:
• iOS 5
• iOS 6
• iOS 7
• iOS 8
• iOS 9
• iOS 10
Full support for:
• Apple Watch
• Apple TV
• Android Wear
• Amazon Fire TV
• Google Glass
• and much more
29. Platform Specific Code
What if we didn’t have to
write this code?
What if we could access it
from shared code?
UI+APIs UI + APIsUI + APIs
Battery
GPS
Lights
Notifications
Settings
Text To Speech
Battery
GPS
Lights
Notifications
Settings
Text To Speech
Battery
GPS
Lights
Notifications
Settings
Text To Speech
33. Build native UIs for iOS, Android, and Windows
from a single, shared C# codebase.
Meet Xamarin.Forms
34. Xamarin + Xamarin.Forms
Traditional Xamarin approach With Xamarin.Forms:
More code-sharing, all native
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Logic Shared C# Logic
Xamarin.Forms
35. What’s included
✓ 40+ Pages, layouts, and controls
(Build from code behind or XAML)
✓ Two-way data binding
✓ Navigation
✓ Animation API
✓ Dependency Service
✓ Messaging Center
Shared C# Logic
Shared UI Code