xamarin overview droidcon.tn

Post on 21-Jan-2018

465 Views

Category:

Software

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Xamarin Forms

for native cross platform development

Your host

Houssem DellaiMicrosoft MVP

@HoussemDellai

www.houssemdellai.net

Make it fast, easy and fun

to create great mobile apps

Goal

Over 600,000 registered

developers

32,000 new developers per

month

Customers in 120 countries

Visionary in the Gartner Magic

Quadrant

Explosive Growth

# of developers

Enterprise Customers in all Verticals & Use Cases

The Anatomy of a Native App

Xamarin apps look and feel native because they are native

Native User Interfaces Native API Access Native Performance

Architecting

Mobile Apps

The Silo Approach

Build App

Multiple Times

The Write-Once-Run-Anywhere Approach

Lowest Common

Denominator

Xamarin’s Unique Approach

Native With

Code Sharing

Windows APIs

iOS APIs | 100% Coverage

Android APIs | 100% Coverage

Xamarin vs Xamarin.Forms

Xamarin Xamarin Forms

Xamarin.Forms

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 APIsShared App Logic

Shared UI Code

Anything you can do in Objective-C or Java

can be done in C# with Xamarin using Visual Studio

Xamarin Designer for iOS

Fully integrated into Xamarin Studio

& Visual Studio

iOS 6 & 7 Storyboard support

Intuitive event handling

Support for auto-layout

Live preview of custom controls

Xamarin Studio: Beautiful new look

NuGet Package Manager

NuGet support combined with the Xamarin Component Store gives Xamarin

developers the most comprehensive ecosystem of libraries at their fingertips

Xamarin Designer for iOS in Xamarin Studio

First Class F# Support

Shared Projects

The easiest way to

share code

Eliminates the hassle

of file-linking

Easier to collaborate

with other Xamarin

Studio & VS users

Demo

Portable Class Libraries

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

Pages

Content MasterDetail Navigation Tabbed Carousel

Layouts

Stack Absolute Relative Grid ContentView ScrollView Frame

Controls

Demo

Model-View-ViewModel

MVVM

Data Binding – Refresh UI

Data Binding – Refresh UI

Data Binding in C#

Data Binding in XAML

Demo

Commands

Used to Execute a method

when an action is performs,

such as a button click

Ability to pass parameter

Ability to have CanExecute

Commands

Generic Commands

Demo

Animations

Cross-platform

animations

Platform-specific

animation APIs!

Async/Await API

Platform Customization

Native UI from shared code

<ContentPage Title="Profile" Icon="Profile.png"><StackLayout Spacing="20" Padding="20">

<Entry Placeholder="Username“ Text="{Binding Username}"/>

<Entry Placeholder="Password"Text="{Binding Password}“ IsPassword="true"/>

<Button Text="Login“ TextColor="White"BackgroundColor="#77D065"Command="{Binding LoginCommand}"/>

</StackLayout></ContentPage>

Accessing Web Services

Accessing Web Services

4 super, powerful lines of code

Demo

Automatically test your app on

hundreds of mobile devices

Create native iOS, Android, Mac and

Windows apps in Visual Studio and

C#

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

Thank you. Questions?

www.houssemdellai.net

@HoussemDellai

top related