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

Post on 30-Jun-2015

234 views 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

James Montemagno!Developer Evangelist, Xamarin!

@JamesMontemagno !!motzcod.es!

MyStepCounterApp.com!

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

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

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

Native User Interfaces Native API Access Native Performance

Build App Multiple Times

Lowest Common

Denominator Black box

Native with Code Sharing

Windows APIs

iOS

100% APIs Coverage

Android

100% APIs Coverage

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.

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

Platform Importance

Android

Android

iOS

Android

iOS

Windows

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

Matt Crocker Director of Client Engineering, Rdio

§ § § 

§ § 

Android

iOS

Mac

Windows Phone

Calca iCircuit Touch Draw

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

Shared UI Code!

§  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!

Pages

Content MasterDetail Navigation Tabbed Carousel

Layouts

Stack Absolute Relative Grid ContentView ScrollView Frame

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!

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.

James Montemagno Developer Evangelist

james@xamarin.com @JamesMontemagno +1 (﴾602)﴿ 492-‐6689

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

!

!

!!!