teched europe 2014 dev-b217 go mobile with c#, xamarin, and visual studio

51

Upload: james-montemagno

Post on 30-Jun-2015

233 views

Category:

Engineering


6 download

DESCRIPTION

Video: http://channel9.msdn.com/Events/TechEd/Europe/2014/DEV-B217 Xamarin enables C# developers to become native iOS, Android, and Windows mobile app developers overnight. In this session, learn how to leverage your existing Microsoft .NET and C# skills to create iOS and Android mobile apps in Visual Studio with Xamarin. In addition to allowing you 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. This session also gives you the tools to determine how much existing C# code can go mobile to iOS and Android, plus helps you determine the architecture necessary to support maximum code sharing and reuse. We also provide guidance and best practices for handling fragmentation across and within each device platform. During this session we will cover the Xamarin platform and how to create native iOS, Android, and Windows apps in C#. Moreover, we will really focus on the code with several live coding adventures throughout the entire session. When you leave you will have the knowledge to create your first iOS & Android in C# with Xamarin in Visual Studio.

TRANSCRIPT

Page 1: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 2: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 3: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

James Montemagno!Developer Evangelist, Xamarin!

@JamesMontemagno !!motzcod.es!

MyStepCounterApp.com!

Page 4: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Create native iOS, Android, Mac and Windows apps in Visual Studio and C#

Page 5: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Automatically test your app on thousands of real devices in the cloud.

Page 6: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Real-time monitoring. Track crashes and exceptions to understand what is happening with live users

Page 7: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 8: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Native User Interfaces Native API Access Native Performance

Page 9: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 10: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Build App Multiple Times

Page 11: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Lowest Common

Denominator Black box

Page 12: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Native with Code Sharing

Page 13: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 14: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Windows APIs

Page 15: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

iOS

100% APIs Coverage

Page 16: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Android

100% APIs Coverage

Page 17: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

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.

Page 18: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 19: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 20: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Full support for: Google Glass, Android Wear, Amazon Fire TV

Page 21: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 22: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Platform Importance

Page 23: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 24: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Android

Page 25: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Android

iOS

Page 26: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Android

iOS

Windows

Page 27: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 28: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Focus on Feature-‐parity Focus on User Experience Focus on Award Winning Mobile Apps

Page 29: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Matt Crocker Director of Client Engineering, Rdio

Page 30: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 31: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

§ § § 

§ § 

Page 32: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 33: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 34: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Android

iOS

Mac

Windows Phone

Calca iCircuit Touch Draw

Page 35: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 36: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 37: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 38: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 39: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Traditional Xamarin Approach With Xamarin.Forms: More code-‐sharing, all native

Shared UI Code!

Page 40: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

§  40+ Pages, Layouts, and Controls §  Build from code behind or XAML §  Two-‐way Data Binding §  Navigation §  Animation API §  Dependency Service §  Messaging Center

What’s Included

Shared UI Code!

Page 41: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Pages

Content MasterDetail Navigation Tabbed Carousel

Page 42: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Layouts

Stack Absolute Relative Grid ContentView ScrollView Frame

Page 43: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Controls ActivityIndicator! BoxView! Button! DatePicker! Editor!

Entry! Image! Label! ListView! Map!

OpenGLView! Picker! ProgressBar! SearchBar! Slider!

Stepper! TableView! TimePicker! WebView! EntryCell!

ImageCell! SwitchCell! TextCell! ViewCell!

Page 44: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 45: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 46: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
Page 47: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Unrivaled Mobile Development Training Live unlimited mobile development training from mobile experts, in your time-‐zone, on your schedule, and as often as you'd like.

Page 48: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

James Montemagno Developer Evangelist

[email protected] @JamesMontemagno +1 (﴾602)﴿ 492-‐6689

Page 49: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

Xamarin enables C# developers to create native iOS, Android, Mac, and Windows apps leveraging their C# and .NET skills, and use all of your favorite .NET libraries.

Xamarin apps look and feel native because they are native. You get 100% API access on every device and with Xamarin you are always up to date.

Use the tools you love like Visual Studio to debug and analyze iOS and Android apps with all of the debugging capabilities such as breakpoints and watch windows. Share on average 70%+ code between all mobile apps with the ability to connect to all of your favorite services like Azure Mobile Services, Office 365, and more.

Summary

Page 50: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio

!

!

!!!

Page 51: TechEd Europe  2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio