TDC2016SP - Cross-Platform Development with C#

25
Thiago Cruz Soares Senior Software Engineer

Transcript of TDC2016SP - Cross-Platform Development with C#

Thiago Cruz SoaresSenior Software Engineer

Cross-Plataform Development with C# : desenvolvendo aplicações para iOS, Android e WindowsPhone com Xamarin e C#

Thiago Cruz SoaresSenior Software Engineer

Quem sou eu?Thiago Cruz SoaresSenior Software Engineer

[email protected]

- 1996 | 1999Estágio BrahmaEstágio parceiro Microsoft

Técnico em processamento de dados

- 1999 | 2006Desenvolvedor, Analista, Arquiteto e gerente de projetos. - Parceiro Microsoft

Graduação de sistema de informação

- 2006 | 2011Carreira em multinacional e sócio de uma empresa.

MBA em Gestão estratégica de negócios

- 2011 | 2016Carreira em multinacionais

+ Oracle + GFT

Xamarin – Sua plataforma completa para mobile

DESIGN – DEVELOP - INTEGRATE

TEST MONITOR

LEARN

Abordagem Xamarin

Shared C# codebase • 100% native API access • High performance

iOS C# UI

Windows C# UIAndroid C# UI

Shared C# Mobile

C# Server

Linux/MonoCoreCLRAzure

Shared C# Client/Server

Utilizando Xamarin.Forms!

Shared C# codebase • 100% native API access • High performance

Shared C# Mobile

Shared C# Client/Server

C# Server

Xamarin + Xamarin.Forms

Abordagem tradicional Xamarin Com Xamarin.Forms:Mais código compartilhado

iOS C# UI Windows C# UIAndroid C# UI

Shared C# Backend

Shared UI Code

Shared C# Backend

Xamarin - 100% de códigos nativos para iOS, Android e Windows

iOS, Android and Windows Apps in C#iOS, Android & Windows Apps com C#

iOS, Android and Windows

Cross-platform C#

iOS, Android e Windows apps com C# e Visual Studio

Acelerando o desenvolvimento com código compartilhado

Azure Mobile Services component

Windows, iOS e Android apps com

Visual Studio

C# e .NET para mobile suporte generics, lambdas, anonymous methods, delegates,

async-await e Portable Class Libraries

Windows APIs

Microsoft.Phone Microsoft.Networking

Windows.Storage

Windows.Foundation

Microsoft.Devices

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

System.Net System System.IO System.Linq System.Xml

iOS – 100% API

MapKit UIKit iBeacon CoreGraphics CoreMotion

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

System.Net System System.IO System.Linq System.Xml

Android – 100% API Coverage

Text-to-speech ActionBar Printing Framework Renderscript NFC

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

System.Net System System.IO System.Linq System.Xml

C# Is AwesomeC#. Por que?

• LINQ Support

• Facilmente em trabalhar com XML “XDocument”

• Event Handling & Delegates

See the Difference – Attributed Strings C# com XamarinObjective-C

Objective-C & C#

C# com XamarinObjective-C

Objective-C & C#

C# com XamarinJava

C# & Async com Xamarin

Comparando com Java…

Código compartilhado

Todos utilizando C#

iOS, Android, Windows, Windows Phone, Mac

2.5+ Bilhões de devices!

Experiência em todas as plataformas

Resumo

• Xamarin == nativo cross-platform• Compartilhando conhecimento em

diferentes UI

Possibilidades...

ObrigadoThiago Cruz SoaresSenior Software Engineer

[email protected]

Thiago Cruz SoaresSenior Software Engineer

Creating a XAML-based application

• Add a XAML file (ContentPage)• Also creates the code-behind