intro to xamarin

27
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 09-Jan-2017

2.603 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Intro to Xamarin

Intro to Xamarin*Shahed ChowdhuriSr. Technical Evangelist @ [email protected]

Cross-Platform Mobile App Development

* Now owned by Microsoft

Page 2: Intro to Xamarin

Your Host & SpeakerShahed ChowdhuriSr. Technical Evangelist @ MicrosoftTechnology 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

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

Page 4: Intro to Xamarin

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

Page 5: Intro to Xamarin

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

Dev Tools from Googlehttps://developer.android.com/studio

OS: • Windows• Mac OS X• Linux

IDE: • Android Studio

Language:• Java

Mobile Targets:• Android

Page 7: Intro to Xamarin

Dev Tools from Xamarinhttps://www.xamarin.com/studio

OS: • Windows• Mac OS X

IDE: • Xamarin Studio

Language:• C#

Mobile Targets:• iOS• Android• Windows

Page 8: Intro to Xamarin

Dev Tools from Microsofthttps://www.xamarin.com/studio

OS: • Windows

IDE: • Visual Studio

Language:• C#

Mobile Targets:• iOS *• Android• Windows

* iOS development on Windows requires accessible Mac OS build host

Page 9: Intro to Xamarin

Xamarin Development Environments

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

Page 10: Intro to Xamarin

Why?

Page 11: Intro to Xamarin

Option A: iOS Only with Apple Tools

Page 12: Intro to Xamarin

Option B: Android Only with Google Tools

Page 13: Intro to Xamarin

Option C: iOS + Android with both

Page 14: Intro to Xamarin

Option D: PhoneGap / Cordova

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

http://phonegap.com

Page 15: Intro to Xamarin

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 16: Intro to Xamarin

C# Language Features: var keyword

Page 17: Intro to Xamarin

C# Language Features: async + await

Page 18: Intro to Xamarin

C# Language Features: Generics

Page 19: Intro to Xamarin

C# Language Features: Lambda syntax

Page 20: Intro to Xamarin

Demo

Page 21: Intro to Xamarin

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

Page 22: Intro to Xamarin

Intro to Mobile Development

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

Page 23: Intro to Xamarin

Hello, iOS

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

Page 24: Intro to Xamarin

Hello, Android

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

Page 25: Intro to Xamarin

Intro to Xamarin.Forms

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

Page 26: Intro to Xamarin

Q & A