build 2016 - b836 - cross-platform mobile with xamarin

31

Upload: windows-developer

Post on 13-Jan-2017

1.153 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Build 2016 - B836 - Cross-Platform Mobile with Xamarin
Page 2: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

#Build2016

Mobile First

Miguel de [email protected]

B836

Page 3: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Xamarin for Everyone

Page 4: Build 2016 - B836 - Cross-Platform Mobile with Xamarin
Page 5: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Mobile Agility with Xamarin and .NETIncrease Your ReachSupport customers on every device, everywhere

Delight your CustomersUse the best features available on each platformFull access and full control of the platform

High Quality AppsAvoid platform disparityDo not fix the same bug three times

Lower Development Costs

Page 6: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Open Source

.NET Everywhere

Page 7: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

.NETSimple, powerful and native

Page 8: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Windows APIs

Microsoft.Phone Microsoft.Networking

Windows.Storage

Windows.Foundation

Microsoft.Devices

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

System.Net System System.IO System.Linq System.Xml

Page 9: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

iOS – 100% API Coverage

MapKit UIKit iBeacon CoreGraphics CoreMotion

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

System.Net System System.IO System.Linq System.Xml

Page 10: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Android – 100% API Coverage

Text-to-speech ActionBar Printing Framework Renderscript NFC

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

System.Net System System.IO System.Linq System.Xml

Page 11: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Strategies for sharing code

Page 12: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Xamarin’s Cross-platform approach

Shared C# codebase • 100% native API access • High performance

Windows-specific C#Android-specific C#iOS-specific C#

Shared C# Logic

Page 13: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Sharing Code - StrategiesShared ProjectsPut shared code in a “Shared Project”Reference the shared project from Android, iOS, Windows, WebAnd the source code from the shared project is included.Very flexible, can use partial classes, very simple, full API access

Portable Class LibrariesFor when you are designing code to be consumed by othersEasier to consume by third partiesLimited API access

Existing Components and NuGetsOur libraries support you with either approach

Page 14: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Powerful abstractions

Page 15: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

SpeechSynthesizerTextToSpeechAVSpeechSynthesizer

TextToSpeech.Speak(“Hello World”);

Page 16: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Plugins for Xamarin

Common Mobile API

xamarin.com/plugins

Speech Camera Settings Connectivity

SMS Location

Platform Native APIs

Page 17: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Xamarin.Forms slide

Windows-specific C#Android-specific C#iOS-specific C#

Shared C# Logic

Shared Xamarin.Forms UI

Page 18: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

2D Graphics LibrarySkiaThe 2D graphics enginePowers Google Chrome and Android.Cross platform: Android, iOS, Mac, Windows. Coming soon: UWP, tvOS.

ComprehensiveImage loading and savingImmediate composited rendering modeGPU accelerated (where available/enabled)Custom effects and shaders

Actively DevelopedBoth Skia and the SkiaSharp bindingsare in active development

Shapes Bézier Curves

Translations & Rotations

Text rendering

Discrete Path Effects

Composed Path Effects

Sum Path Effects

Shaders

Page 19: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

3D Retained Graphics EngineUrhoRetained 3D engine

Cross platform: Android, iOS, Mac, Windows. Coming soon: UWP, tvOS.

Comprehensive3D ScenesRetained component systemGPU accelerated Custom effects and shaders

Actively DevelopedBoth Urho and the UrhoSharp bindings are in active development

Page 20: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Inspector and Workbooks

Page 21: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

InspectorIDE support to inspect live applicationsMonitor your application liveExecute C# code against a running applicationMake changes, explore your application

Powered by Roslyn’s C#

Cross PlatformSupports Android, iOS, Mac and Windows

Page 22: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

WorkbooksBringing Interactive C# to the next level

Learn by experimentation

Workbooks are live documentsThey contain Markdown textWith embedded C# codeThe code executes on demandAnd re-executes any code after you make changes

Page 23: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Hands on

Page 24: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Demo –Learning by ExperimentingMiguel de Icaza

Page 25: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Demo –Learning with WorkbooksMiguel de Icaza

Page 26: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Testing

Page 27: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Authoring testsUnit testingUI Testing

Test Recorder

Page 28: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Demo –Test RecorderMiguel de Icaza

Page 29: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Demo –Test CloudMiguel de Icaza

Page 30: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Please Complete An Evaluation FormYour input is important!

or

Page 31: Build 2016 - B836 - Cross-Platform Mobile with Xamarin

© 2016 Microsoft Corporation. All rights reserved.