Xamarin enables C# devs to become native iOS, Android, and Windows mobile app dev overnight. Learn how to leverage your existing .NET and C# skills to create iOS and Android mobile apps in Visual Studio. In addition to allowing you to write your iOS and Android apps in C#, Xamarin lets you reuse existing .NET libraries and share your business logic across iOS, Android, and Windows apps. During this session we cover the Xamarin platform and how to create native iOS, Android, and Windows apps in C#. See what’s new and next for Xamarin development inside of Visual Studio. Moreover, we focus on the code, with several live coding adventures throughout the entire session and show you the latest and greatest in native cross-platform development.
2. James
Montemagno
Principal Program Manager – Mobile Developer Tools,
Microsoft
motz@microsoft.com Montemagno.com @JamesMontemagno
Weekly development podcast
mergeconflict.fm
Weekly development show
xamarinshow.com
3. Essentials for mobile success
Intelligent cloudBuild, test, distribute, learnBeautiful native apps
4. DESKTOP WEB CLOUD MOBILE GAMING IoT AI
.NET
Your platform for building anything
5. Xamarin: Anything you can do in Objective-C,
Swift, or Java, you can do in C# and Visual Studio
• Native user interface
• High-fidelity API access
• Native performance
6. iOS C# UI Windows C# UIAndroid C# UI
Shared C# logic
.NET for Mobile Apps
Shared C# codebase • 100% native API access • High performance
11. .NET Standard brings it all together
.NET Standard allows
sharing code, binaries
and skills between
.NET client, server and
all of its flavors.
.NET Standard provides
a specification for any
platform to implement
LIBRARIES
INFRASTRUCTURE
.NET STANDARD
DESKTOP WEB CLOUD MOBILE GAMING IoT AI
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.
37. Without Eager Deploy With Eager Deploy
First Run
Master Detail App
106 seconds 81 seconds
First Run
Smart Hotel 360
179 seconds 161 seconds
38. † Google Play Services available if you download fishy binary from a random internet site, run an installer,
and copy files to the right places. YMMV.
72. https://github.com/fsprojects/Elmish.XamarinForms
/// The messages dispatched by the view
type Msg = |
/// The model from which the view is generated
type Model = { : }
/// Returns the initial state
let init() = { =false }
/// The funtion to update the view
let update msg Msg model Model =
match with | -> { with = true }
/// The view function giving updated content for the page
let view model Model dispatch =
if then
="I was pressed!"
else
="Press Me!" = fun ->
type App () =
inherit ()
let runner =
|>
|>
|>
79. Thank you.
James
Montemagno
Principal Program Manager – Mobile Developer Tools,
Microsoft
motz@microsoft.com Montemagno.com @JamesMontemagno
Weekly development podcast
mergeconflict.fm
Weekly development show
xamarinshow.com