This document provides a summary of Xamarin and cross-platform .NET development in 2016 and beyond. It discusses Xamarin's unique approach of allowing developers to build native mobile apps using C# with a single shared codebase that provides full access to platform APIs. It highlights new features in 2016 like improved Visual Studio integration and Xamarin Studio updates. It also outlines the roadmap, including improved XAML compilation and expanded Xamarin.Forms capabilities. The document demonstrates how to maximize code sharing between platforms using techniques like plugins.
Axa Assurance Maroc - Insurer Innovation Award 2024
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
1. Nick Landry
Senior Technical Evangelist – Microsoft
nick.landry@microsoft.com
Blog: AgeofMobility.com
@ActiveNick | github.com/ActiveNick
State of Union:
Xamarin & Cross-Platform .NET
in 2016 and Beyond
14. All 3 characteristics are required for a truly native app
Xamarin is native in all 3 ways
Native User Interface
Apps are built with standard, native
user interface controls for easy and
familiar interactions
Apps have access to the full spectrum of
functionality exposed by the underlying
platform and device
Apps leverage platform-specific hardware
acceleration, and are compiled as native
binaries, not interpreted at runtime.
High-fidelity API Access
Native Performance
15. 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.
16. Same-day support:
• iOS 5
• iOS 6
• iOS 7
• iOS 8
• iOS 9
✓Always Up-to-Date
Full support for:
• Apple Watch
• Apple TV
• Android Wear
• Amazon Fire TV
• and much more
38. Xamarin.Forms:
Build Native User Interfaces
Using Shared Code
Shared App Logic in C#
Xamarin.Forms comes with over 40
common controls, pages and layouts to
make app UI creation fast and easy
Even basic animations are supported
Xamarin.Forms is Fully Extensible:
• Subclass included controls and
customize behavior
• Define and add your own controls,
layouts, pages and cells
• Expose your own platform-specific
controls in Xamarin.Forms pages
44. 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.
Xamarin.Forms: Mix-and-Match Screen-by-Screen, Element-by-Element
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.
59. 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
60. Xamarin Components and Plugins
https://github.com/xamarin/XamarinComponents
https://components.xamarin.com
79. 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 2.1M students registered
Build your own Learning Plan
All free!
Cross-Platform Development with
Xamarin & Visual Studio
aka.ms/MVAxamarin
http://www.microsoftvirtualacademy.com
80. Thank You!
Slides are posted SlideShare. 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