Couchbase Workshop - Introduction to Xamarin

34
Agenda Now: Introduction, Social, & Pizza 6:30 – 7:15- Introduction to Xamarin 7:15 – 8:00- Introduction to Couchbase 8:00 – 8:15 - Break/Workshop Setup 8:15 – 9:30 - Workshop

Transcript of Couchbase Workshop - Introduction to Xamarin

Agenda

Now: Introduction, Social, & Pizza

6:30 – 7:15- Introduction to Xamarin

7:15 – 8:00- Introduction to Couchbase

8:00 – 8:15 - Break/Workshop Setup

8:15 – 9:30 - Workshop

Creating Native iOS, Android, Mac, and Windows apps in C#

James Montemagno @JamesMontemagno

Developer Evangelist

James Montemagno

Developer Evangelist

Who is this guy?

[email protected] http://motz.codes @JamesMontemagno

http://meetup.com/SeattleMobileDevelopers

Meet the First Tuesday of Each Month•  Location: Right Here!•  Awesome Giveaways•  Awesome Mobile Topics

Next Meetup: Tuesday Feb 3rd: Android Wear!

Xamarin—A Complete Mobile Solution

Design Develop Integrate

Learn

Xamarin Platform

Test Monitor

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

What is native?

Native User Interfaces Native API Access Native Performance

Mobile Development Approaches

Silo Approach

Build App!Multiple Times!

!

Write-Once-Run-Anywhere Approach

Lowest!Common!

Denominator! Black box

Xamarin’s Unique Approach

Native with!Code Sharing!

How Xamarin Works

Windows APIs

iOS

100% API Coverage

Android

100% APICoverage

Native Performance

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.

Always Up-to-Date

Track record of offering same-day support:iOS 5, iOS 6, iOS 7, iOS 7.1, iOS 8

Full support for:•  Google Glass•  Android Wear•  Amazon Fire TV•  Apple Watch•  More!

Everything You Love

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

Visual Studio – 2010 and Higher

Xamarin Studio – Mac or PC

Xamarin Android Player

High Speed Android Emulator•  Mac or PC•  Runs side-by-side Windows

Phone EmulatorFree for Xamarin Subscribers:•  Xamarin.com/Android-Player

Live Coding Adventure 1

Portable  Class  Libraries  

Xamarin + Xamarin.Forms

With Xamarin.Forms: !more code-sharing, native controls!

Traditional Xamarin approach!

Xamarin.Forms!

What’s Included

Xamarin.Forms!

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

§  Two-way Data Binding!!§  Navigation!

§  Animation API!

§  Dependency Service!

§  Messaging Center!

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!

Xamarin.Forms Example

Use a single API to generate native, platform-specific user interfaces

At runtime, each Xamarin.Forms page and its controls are mapped to platform-specific native user interface elements

Live Coding Adventure 2

Get StartedXamarin.com

Thank you!Q&A

James Montemagno

Developer Evangelist

[email protected] http://motz.codes @JamesMontemagno