write one code, deploy to multi platforms using .net

17
WRITE ONE CODE, DEPLOY TO MULTI PLATFORMS USING .NET FISTA/ISCTE 2017

Upload: sara-silva

Post on 08-Apr-2017

33 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Write one code, deploy to multi platforms using .NET

WRITE ONE CODE, DEPLOY TO MULTI PLATFORMSUSING .NETFISTA/ISCTE 2017

Page 2: Write one code, deploy to multi platforms using .NET

SPEAKER

Sara Silva@saramgsilva

Page 3: Write one code, deploy to multi platforms using .NET

AGENDA

Mobile Development using Xamarin Mobile Development Lifecycle Continuous Delivery for Mobile Apps

Hands on Labs: Creating an App using Xamarin Forms Q & A

Page 4: Write one code, deploy to multi platforms using .NET

May 2, 2023 4

DO YOU KNOW?

Xamarin was created in May 2011 by Miguel de Icaza, Nat Friedman and Joseph Hill.

+300 employees | + 1.3 million unique developers  | +15k customers |  + 120 countries

Page 5: Write one code, deploy to multi platforms using .NET

May 2, 2023 5

DO YOU KNOW?

Xamarin was created in May 2011 by Miguel de Icaza, Nat Friedman and Joseph Hill.

+300 employees | + 1.3 million unique developers  | +15k customers |  + 120 countries

Page 6: Write one code, deploy to multi platforms using .NET

MOBILE DEVELOPMENT USING XAMARIN

Shared C# code

Native Development Xamarin SDK and Windows SDK Development

Xamarin unified Mobile Development

Page 7: Write one code, deploy to multi platforms using .NET

MOBILE DEVELOPMENT USING XAMARIN

Shared C# codeShared C# code

Native Development Xamarin SDK and Windows SDK Development Xamarin Forms Development

Xamarin Forms is a framework that unified the UI

Page 8: Write one code, deploy to multi platforms using .NET

MOBILE DEVELOPMENT USING XAMARIN

Write C#. Run on 2.6 billion devices.

With C# and Visual Studio, you can share the same code on iOS, Android, Windows, Mac and more.

Page 9: Write one code, deploy to multi platforms using .NET

MOBILE DEVELOPMENT USING XAMARIN

Don’t Mimic UI Elements and Typeface From Other Platforms

Page 10: Write one code, deploy to multi platforms using .NET

MOBILE DEVELOPMENT USING XAMARIN

Tizen .NET Preview

Enables you to build .NET applications for the Tizen operating system, running on 50 million Samsung devices, including TVs, wearables, mobile, and many other IoT devices, around the world.

Page 11: Write one code, deploy to multi platforms using .NET

MOBILE DEVELOPMENT LIFECYCLE

Page 12: Write one code, deploy to multi platforms using .NET

CONTINUOUS DELIVERY FOR MOBILE APPS

Page 13: Write one code, deploy to multi platforms using .NET

LAB - CREATING AN APP USING XAMARIN FORMS

Creating an App using Xamarin Forms

https://goo.gl/eS3VKv

Page 14: Write one code, deploy to multi platforms using .NET

LAB - CREATING AN APP USING XAMARIN FORMS

Model View ViewModel Pattern (MVVM)

• View define the UI

• View Model define the behavior

• Model define the data

Page 15: Write one code, deploy to multi platforms using .NET

LAB - CREATING AN APP USING XAMARIN FORMS

View Model

Feature X(Abstraction

)

Feature XiOS

Feature XAndroid

Feature XWindows

Knows

Implements

Abstraction Pattern

View Model must• Be independent from the platform• Knows the abstraction for each feature

In each target, each feature:• Has your own implementation• Must respect the abstraction (the interface)

Page 16: Write one code, deploy to multi platforms using .NET

Q & A

Page 17: Write one code, deploy to multi platforms using .NET

Obrigada!

WORKSHOP XAMARIN – FISTA 2017