Weekly development podcast mergeconflict fm Weekly development show

  • Slides: 59
Download presentation

Weekly development podcast mergeconflict. fm Weekly development show xamarinshow. com James Montemagno Principal Program

Weekly development podcast mergeconflict. fm Weekly development show xamarinshow. com James Montemagno Principal Program Manager – Mobile Developer Tools, Microsoft [email protected] com Montemagno. com @James. Montemagno

Native User Interfaces Native API Access Native Performance

Native User Interfaces Native API Access Native Performance

Silo approach i. OS Android Windows Objective-C/Swift Xcode Java Android Studio C# Visual Studio

Silo approach i. OS Android Windows Objective-C/Swift Xcode Java Android Studio C# Visual Studio No shared code • Many languages and development environments • Multiple teams

Write once, run anywhere Lua Javascript Actionscript HTML+CSS App generator Limited native API access

Write once, run anywhere Lua Javascript Actionscript HTML+CSS App generator Limited native API access • Slow performance • Poor user experience

Xamarin’s unique approach i. OS C# UI Android C# UI Windows C# UI Shared

Xamarin’s unique approach i. OS C# UI Android C# UI Windows C# UI Shared C# logic Shared C# codebase • 100% native API access • High performance

Windows APIs Microsoft. Phone Microsoft. Networking Windows. Storage Windows. Foundation Microsoft. Devices System. Net

Windows APIs Microsoft. Phone Microsoft. Networking Windows. Storage Windows. Foundation Microsoft. Devices System. Net System. IO System. Linq System. Xml System. Data System. Windows System. Numerics System. Core System. Service. Model C#

i. OS – 100% API coverage Map. Kit UIKit i. Beacon Core. Graphics Core.

i. OS – 100% API coverage Map. Kit UIKit i. Beacon Core. Graphics Core. Motion System. Net System. IO System. Linq System. Xml System. Data System. Windows System. Numerics System. Core System. Service. Model C#

Android – 100% API coverage Text-to-speech Action. Bar Printing Framework Renderscript NFC System. Net

Android – 100% API coverage Text-to-speech Action. Bar Printing Framework Renderscript NFC System. Net System. IO System. Linq System. Xml System. Data System. Windows System. Numerics System. Core System. Service. Model C#

Xamarin. Forms- Cross Platform UI Shared UI Code Shared C# Logic Shared Native User

Xamarin. Forms- Cross Platform UI Shared UI Code Shared C# Logic Shared Native User Interface Shared App Logic

Xamarin Live Player Continuously deploy & debug apps

Xamarin Live Player Continuously deploy & debug apps

Xamarin Live Player Setup

Xamarin Live Player Setup

Xamarin Native – Traditional UI i. OS C# Android C# Windows C# Shared C#

Xamarin Native – Traditional UI i. OS C# Android C# Windows C# Shared C# Logic 3 Native User Interfaces Shared App Logic

Native performance ARM BINARY . NET C# Bindings AOT . APP Runs natively Xamarin.

Native performance ARM BINARY . NET C# Bindings AOT . APP Runs natively Xamarin. i. OS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store. IL + JIT . NET C# Compile and Link . APK Bindings Xamarin. Android takes advantage of Just In Time (JIT) compilation on the Android device. Runs natively

✓ Always up-to-date Same-day support: • • i. OS 5 i. OS 6 i.

✓ Always up-to-date Same-day support: • • i. OS 5 i. OS 6 i. OS 7 i. OS 8 i. OS 9 i. OS 10 i. OS 11 Full support for: • • • Apple Watch Apple TV Android Wear Amazon Fire TV Google Glass and much more

i. Circuit 14% Android Touch Draw Evolve App (Xamarin. Forms) 9% 28% 72% 86%

i. Circuit 14% Android Touch Draw Evolve App (Xamarin. Forms) 9% 28% 72% 86% 91% 7% i. OS 30% 70% 39% 61% 93% 12% 24% Mac 88% 76% 2% 10% Windows 90% 98% Code sharing stats

Xamarin Platform is included in Visual Studio Including Community Edition

Xamarin Platform is included in Visual Studio Including Community Edition

Visual Studio for Mac

Visual Studio for Mac

Open Source – open. xamarin. com

Open Source – open. xamarin. com

Anything you can do in Objective-C, Swift, or Java can be done in C#

Anything you can do in Objective-C, Swift, or Java can be done in C# with Xamarin

Xamarin + Xamarin. Forms i. OS C# UI Android C# UI Windows C# UI

Xamarin + Xamarin. Forms i. OS C# UI Android C# UI Windows C# UI Shared C# Logic Xamarin. Forms Shared C# Logic

What’s included Shared UI Code Shared C# Logic ✓ 40+ Pages, layouts, and controls

What’s included Shared UI Code Shared C# Logic ✓ 40+ Pages, layouts, and controls (Build from code behind or XAML) ✓ Two-way data binding ✓ Navigation ✓ Animation API ✓ Dependency Service ✓ Messaging Center

Native UI from shared code <? xml version="1. 0" encoding="UTF-8"? > <Tabbed. Page xmlns="http:

Native UI from shared code <? xml version="1. 0" encoding="UTF-8"? > <Tabbed. Page xmlns="http: //xamarin. com/schemas/2014/forms" xmlns: x="http: //schemas. microsoft. com/winfx/2009/xaml" x: Class="My. App. Main. Page"> <Tabbed. Page. Children> <Content. Page Title="Profile" Icon="Profile. png"> <Stack. Layout Spacing="20" Padding="20" Vertical. Options="Center"> <Entry Placeholder="Username" Text="{Binding Username}"/> <Entry Placeholder="Password" Text="{Binding Password}" Is. Password="true"/> <Button Text="Login" Text. Color="White" Background. Color="#77 D 065" Command="{Binding Login. Command}"/> </Stack. Layout> </Content. Page> <Content. Page Title="Settings" Icon="Settings. png"> <!-- Settings --> </Content. Page> </Tabbed. Page. Children> </Tabbed. Page>

Xamarin. Forms i. OS C# Android C# Windows C# Shared C# Logic

Xamarin. Forms i. OS C# Android C# Windows C# Shared C# Logic

App. Links

App. Links

Xamarin & Xamarin. Forms ecosystem

Xamarin & Xamarin. Forms ecosystem

Xamarin Runtime

Xamarin Runtime

Xamarin Runtime

Xamarin Runtime

Visual Studio for Mac i. OS, Android, & mac. OS. NET development. NET Core

Visual Studio for Mac i. OS, Android, & mac. OS. NET development. NET Core & ASP. NET Core Docker Unity Tools for Azure Functions Included with your Visual Studio subscription at no additional cost Free Community Edition Available today!

Deployment Model • Every major Linux architecture • Self-contained • Remote debugging • Remote

Deployment Model • Every major Linux architecture • Self-contained • Remote debugging • Remote deployment

Android C# mac. OS C# i. OS C# tv. OS C# Linux C# Shared

Android C# mac. OS C# i. OS C# tv. OS C# Linux C# Shared C# Logic Windows C# Web

Android Java Jar/Aar mac. OS Objective-C Dynamic. Lib i. OS Swift Framework tv. OS

Android Java Jar/Aar mac. OS Objective-C Dynamic. Lib i. OS Swift Framework tv. OS Swift Framework Shared C#/. NET Logic Linux C++

Alaska Airlines brings consumer UX to 15 K+ employees • Mobile-only, cloud-first approach •

Alaska Airlines brings consumer UX to 15 K+ employees • Mobile-only, cloud-first approach • ”Best Airline Staff in North America 2017” award winner, among dozens of others • Automates mobile lifecycle to ship new features quickly Visual Studio Tools for Xamarin, Azure, Xamarin Test Cloud, Hockey. App, Visual Studio Team Services Empower employees Optimize operations

Mobilizing people and processes to drive revenue • Gives teams anytime, anywhere access to

Mobilizing people and processes to drive revenue • Gives teams anytime, anywhere access to customer data • Reduces manual, paper-based ordering • Faster contract approval and deal turn-around time • Engages customers with interactive proposals Visual Studio Tools for Xamarin, Azure, Visual Studio Team Services Engage customers Empower employees Optimize operations

Free self-guided courses Take free self-guided courses that cover the core Xamarin concepts and

Free self-guided courses Take free self-guided courses that cover the core Xamarin concepts and count towards certification. Register at: university. xamarin. com/self-guided Get a full subscription for live classes, advanced topics, and to complete certification. Sign up at: xamarin. com/university

https: //github. com/mono/embeddinator-4000

https: //github. com/mono/embeddinator-4000

https: //myignite. microsoft. com/evaluations https: //aka. ms/ignite. mobileapp

https: //myignite. microsoft. com/evaluations https: //aka. ms/ignite. mobileapp