intro to xamarin: cross-platform mobile application development

32
Intro to Xamarin* Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @shahedC WakeUpAndCode.com Cross-Platform Mobile App Development * Now owned by Microsoft

Upload: shahed-chowdhuri

Post on 22-Jan-2018

154 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Intro to Xamarin: Cross-Platform Mobile Application Development

Intro to Xamarin*

Shahed Chowdhuri

Sr. Technical Evangelist @ Microsoft

@shahedC

WakeUpAndCode.com

Cross-Platform Mobile App Development

* Now owned by Microsoft

Page 2: Intro to Xamarin: Cross-Platform Mobile Application Development

Your Host & Speaker

Shahed Chowdhuri

Sr. Technical Evangelist @ Microsoft

Technology Areas

• Enterprise Web/Software Development

• Game Development

• Mobile Application Development

• Cloud Solutions

Online

• LinkedIn: http://linkedin.com/in/shahedc

• Meetup: http://www.meetup.com/DC-MS-Devs/

• Twitter: http://twitter.com/shahedC

• Blog: http://WakeUpAndCode.com

Page 3: Intro to Xamarin: Cross-Platform Mobile Application Development

What is Xamarin? https://www.xamarin.com/products

Page 4: Intro to Xamarin: Cross-Platform Mobile Application Development

Native? https://www.xamarin.com/products

Page 5: Intro to Xamarin: Cross-Platform Mobile Application Development

Dev Tools from Apple https://developer.apple.com/xcode

OS:

• Mac OS X

IDE:

• Xcode

Languages:

• Objective-C

• Swift

Mobile Targets:

• iOS

Page 6: Intro to Xamarin: Cross-Platform Mobile Application Development

Dev Tools from Google https://developer.android.com/studio

OS:

• Windows

• Mac OS X

• Linux

IDE:

• Android Studio

Language:

• Java

Mobile Targets:

• Android

Page 7: Intro to Xamarin: Cross-Platform Mobile Application Development

Dev Tools from Xamarin? https://www.xamarin.com/studio

OS:

• Windows

• Mac OS X

IDE:

• Xamarin Studio

Language:

• C#

Mobile Targets:

• iOS

• Android

• Windows

Page 8: Intro to Xamarin: Cross-Platform Mobile Application Development

Visual Studio for Mac!

https://www.visualstudio.com/vs/visual-studio-mac

OS:

• Mac OS X

IDE:

• VS for Mac

Language:

• C#

Mobile Targets:

• iOS

• Android

Page 9: Intro to Xamarin: Cross-Platform Mobile Application Development

Visual Studio for Windows https://www.visualstudio.com

OS:

• Windows

IDE:

• Visual Studio

Language:

• C#

Mobile Targets:

• iOS *

• Android

• Windows

* iOS development on Windows requires accessible Mac OS build host

Page 10: Intro to Xamarin: Cross-Platform Mobile Application Development

Visual Studio 2017 Installation

https://blogs.msdn.microsoft.com/cbtham/2017/04/17/setting-up-your-machine-for-xamarin-visual-studio-2017

Page 11: Intro to Xamarin: Cross-Platform Mobile Application Development

Xamarin Development Environments

https://developer.xamarin.com/guides/cross-platform/getting_started/requirements/

VS for Mac!2017

Page 12: Intro to Xamarin: Cross-Platform Mobile Application Development

Xamarin Live Player on iOS/Android

12https://www.xamarin.com/live

Page 13: Intro to Xamarin: Cross-Platform Mobile Application Development

Why?

Page 14: Intro to Xamarin: Cross-Platform Mobile Application Development

Option A: iOS Only with Apple Tools

Page 15: Intro to Xamarin: Cross-Platform Mobile Application Development

Option B: Android Only with Google Tools

Page 16: Intro to Xamarin: Cross-Platform Mobile Application Development

Option C: iOS + Android with both

Page 17: Intro to Xamarin: Cross-Platform Mobile Application Development

Option D: PhoneGap / Cordova

Start with HTML5/CSS3/JavaScript Use PhoneGap/Cordova Deploy to platforms

http://phonegap.com | http://cordova.apache.org

Page 18: Intro to Xamarin: Cross-Platform Mobile Application Development

Option E: Xamarin!

“Use the same language, APIs and data structures to share an average

of 75% of app code across all mobile development platforms. Build user

interfaces with Xamarin.Forms and share nearly 100%.”

Page 19: Intro to Xamarin: Cross-Platform Mobile Application Development

C# Language Features: var keyword

Page 20: Intro to Xamarin: Cross-Platform Mobile Application Development

C# Language Features: async + await

Page 21: Intro to Xamarin: Cross-Platform Mobile Application Development

C# Language Features: Generics

Page 22: Intro to Xamarin: Cross-Platform Mobile Application Development

C# Language Features: Lambda syntax

Page 23: Intro to Xamarin: Cross-Platform Mobile Application Development

Demo

Page 24: Intro to Xamarin: Cross-Platform Mobile Application Development

Next Steps https://developer.xamarin.com/guides/cross-platform/getting_started/

Page 25: Intro to Xamarin: Cross-Platform Mobile Application Development

Intro to Mobile Development

https://developer.xamarin.com/guides/cross-platform/getting_started/introduction_to_mobile_development/

Page 26: Intro to Xamarin: Cross-Platform Mobile Application Development

Hello, iOS

https://developer.xamarin.com/guides/ios/getting_started/hello,_iOS/

Page 27: Intro to Xamarin: Cross-Platform Mobile Application Development

Hello, Android

https://developer.xamarin.com/guides/android/getting_started/hello,android/

Page 28: Intro to Xamarin: Cross-Platform Mobile Application Development

Intro to Xamarin.Forms

https://developer.xamarin.com/guides/xamarin-forms/getting-started/introduction-to-xamarin-forms/

Page 29: Intro to Xamarin: Cross-Platform Mobile Application Development

https://aka.ms/mva-xamarin100

MVA: Xamarin for Absolute Beginners

Page 30: Intro to Xamarin: Cross-Platform Mobile Application Development

https://channel9.msdn.com/Events/Build/2017/B8103

MSDN Ch9: Videos from Build

Page 31: Intro to Xamarin: Cross-Platform Mobile Application Development

Q & A