dotnetconf - introduction to xamarin and xamarin.forms

32
Developing Native iOS, Android, and Windows apps in C# with Xamarin @XamarinHQ #Xamarin

Upload: james-montemagno

Post on 07-May-2015

2.265 views

Category:

Software


4 download

DESCRIPTION

dotnetconf 2014! Watch session: http://channel9.msdn.com/Events/dotnetConf/2014/Developing-Native-iOS-Android-and-Windows-Apps-with-Xamarin Developing Native iOS, Android, and Windows Apps with Xamarin Mobile continues to expand and evolve at a rapid pace. Users expect great native experiences in the palm of their hands on each and every platform. A major hurdle for developers today is that each platform has its own programming language and tools to learn and maintain. Even if you tackle the burden of learning Objective-C and Java you will still have to manage multiple code bases, which can be a nightmare for any development team large or small. It doesn't have to be this way as you can create Android, iOS, Windows Phone, and Windows Store apps leveraging the .NET framework and everything you love about C#. This is an introduction to Xamarin and Xamarin.Forms with Azure Mobile Services.

TRANSCRIPT

Page 1: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Developing Native iOS, Android, !and Windows apps in C# with Xamarin!

@XamarinHQ!#Xamarin!

Page 2: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Who is this guy?!

James Montemagno!Developer Evangelist, Xamarin!

[email protected]!!@JamesMontemagno | motzcod.es!!@XamarinHQ | blog.xamarin.com!

Page 3: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Automatically test your app on!hundreds of mobile devices !

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

Page 4: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

What is native?!

Page 5: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

The Anatomy of a Native App!

Native User Interfaces! Native API Access! Native Performance!

Page 6: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Architecting !Mobile Apps!

Page 7: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

The Silo Approach!

Build App !Multiple Times!

Page 8: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

The Write-Once-Run-Anywhere Approach!

Lowest Common!Denominator!

Page 9: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Xamarin’s Unique Approach!

Native With !Code Sharing!

Page 10: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Windows APIs!

Page 11: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

iOS APIs | 100% Coverage!

Page 12: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Android APIs | 100% Coverage!

Page 13: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

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

Page 14: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

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 15: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Emerging Technologies & Devices Always up-‐to-‐date with the latest APIs from

Apple and Google.

Android Wear Google Glass Amazon Fire Phone Amazon Fire TV!

Page 16: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Live Coding Adventure 1!

Page 17: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Portable  Class  Libraries  

Page 18: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Xamarin + Xamarin.Forms!With Xamarin.Forms: !

more code-sharing, native controls!Traditional Xamarin approach!

Shared UI Code!

Page 19: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Xamarin + Xamarin.Forms!

Shared UI Code!

Quickly and easily build native user interfaces using shared code!!Xamarin.Forms elements map to native controls and behaviors!!Mix-and-match Xamarin.Forms with native APIs!

Page 20: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

What’s Included!

§  40+ Pages, Layouts, and Controls!§  Build from code behind or XAML!

§  Two-way Data Binding!!§  Navigation!

§  Animation API!

§  Dependency Service!

§  Messaging Center!

Page 21: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Pages!

Content! MasterDetail! Navigation! Tabbed! Carousel!

Page 22: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Layouts!

Stack! Absolute! Relative! Grid! ContentView! ScrollView! Frame!

Page 23: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

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 24: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Login ViewModel!

Page 25: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Login Page – Code Behind!

Page 26: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Login Page – XAML!

Page 27: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Login Page!

Page 28: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Live Coding Adventure 2!

Page 29: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Key Attendees!

xamarin.com/evolve!

Page 30: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

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!

xamarin.com/university!

Page 31: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Get Started Today: xamarin.com/download

Page 32: Dotnetconf - Introduction to Xamarin and Xamarin.Forms

Q & A!!Get your free C# t-shirt:!xamarin.com/shirt!

Find Me:!@JamesMontemagno | motzcod.es!@XamarinHQ | blog.xamarin.com!