introduction to cross platform natitve mobile development with c# and xamarin

43
Enabling Developers to Create Native iOS, Android, Mac, & Windows apps in C# James Montemagno Developer Evangelist, Xamarin www.MotzCod.es | www.Xamarin.com @JamesMontemagno | @XamarinHQ Tweet - #Xamarin

Upload: james-montemagno

Post on 07-May-2015

237 views

Category:

Engineering


2 download

DESCRIPTION

In this session you will learn about the technology that Xamarin offers and how it works to enable developers to leverage a shared C# code base across all mobile platforms. I will walk you through developing, deploying, and optimizing your first mobile apps for iOS, Android, and Windows from a single code base. You will walk away with the knowledge to build cross platform mobile app with C# features such as LINQ, async/await, events, and delegates and inside of both Visual Studio and Xamarin Studio.

TRANSCRIPT

Page 1: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Enabling Developers to Create NativeiOS, Android, Mac, & Windows apps in

C#James Montemagno Developer Evangelist, Xamarinwww.MotzCod.es | www.Xamarin.com@JamesMontemagno | @XamarinHQTweet - #Xamarin

Page 2: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Mobile Development Approaches

Page 3: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Single App

Page 4: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Single App

Page 5: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Single App

Page 6: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Silo Approach

Page 7: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Write Once, Run Anywhere Approach

Lowest common denominator

App Generation

Page 8: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Write Once, Run Anywhere Approach

Lowest common denominator

App Generation

Page 9: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Xamarin’s Unique Approach

Page 10: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

C# on 2.6 Billion Devices

Page 11: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Page 12: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Page 13: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin
Page 14: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

100% API Coverage

Page 15: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Anything you can do in Objective-C or Java can be done in C# and Visual Studio with

Xamarin!

Page 16: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store.

Native Performance

Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.

Page 17: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Always Up to Date

Same day support for

iOS 5, iOS 6, iOS 6.1,

iOS 7, iOS 7.1!

Page 18: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Always Up to Date

Always up-to-date with the latest APIs

from Apple and Google.

Page 19: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Always Up to Date

Always up-to-date with the latest APIs

from Apple and Google.

Page 20: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Xamarin’s Unique Approach

Page 21: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Code Sharing: Accelerate Development

Android

iOS

Mac

WP

Page 22: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

File Linking

Page 23: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Shared Code Projects

Page 24: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Portable Class Libraries

• 1 Assembly• Multiple Platforms• Including:

• Xamarin.Android• Xamarin.iOS

Page 25: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Portable Class Libraries Features

• Centralized Code Sharing• How you expect it to work

• Debug seamlessly into and out of PCL

• Project/Assembly Sharing • NuGet

Page 26: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Distribute EverywhereA Xamarin app is an app, distribute it everywhere

Page 27: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Products

Page 28: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Xamarin.Mac

Xamarin Studio

Xamarin Test Cloud

Component Store

Xamarin.iOS

Xamarin.Android

Xamarin for Visual Studio

.NET Mobility Scanner

Page 29: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Development Environment

Xamarin StudioPC or Mac

Visual Studio Plugin

VS 2010/2012/2013

Page 30: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Visual Studio Integration

Page 31: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Visual Studio Integration

Debug to:• Emulators• Devices

Integrated into toolbar• Status• Logs• List of devices

Just Click Start Debugging!

Page 32: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Xamarin Studio

Page 33: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Android Designer

Page 34: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

iOS Designer

Page 35: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Xamarin Component Store

Build Apps Faster

Page 36: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

.NET Mobility Scanner

http://scan.xamarin.comHow mobile is your .NET?• Scan .exe or .dll to determine

compatibility• Generates full report:

Page 37: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Live Coding Adventure

Page 38: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Xamarin Evolve 2013Sold

Out!

650Conference Attendees

8,400

Live stream hours viewed

#1Trending on Twitter

during keynote

Watch Sessions & Highlights: http://xamarin.com/evolve/2013

Page 39: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

www.xamarin.com/evolve

Page 40: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

• Sign up at xamarin.com/university• Learn to build native iOS, Android, and Windows

apps with C#.• Live online, interactive classes with live coding.• Labs with full source code solutions.• Access to Xamarin Certified Developer exam.• Unlimited Annual Access: Enjoy unlimited, live

mobile development training from mobile experts, on your schedule, and as often as you'd like.

Page 41: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Where Do I Start?Xamarin.com

Page 42: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

GET YOUR C# SHIRT TODAY!

Page 43: Introduction to Cross Platform Natitve Mobile Development with C# and Xamarin

Find Me:@JamesMontemagnowww.MotzCod.esGitHub.com/JamesMontemagno

Xamarin:@XamarinHQwww.Xamarin.com

Latest AppMy StepCounter for Android & iOS

www.MyStepCounterApp.com100% Open Source Starter Compatible