Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Cross-platform mobile development in !
C# with Xamarin!
Your Presenters!
Greg Shackles! Brent Schooley!James Montemagno!
Senior Engineer!
Olo!
Developer Evangelist!
Twilio!
Devel...
Philly Xamarin Developer Group!
meetup.com/PhillyXamarin!
§  Monthly Meetups!
§  Ran by local developers!
§  Next meetu...
Agenda!
Part 1:!
§  Introduction!
§  Architecting Mobile Apps!
§  Overview of Xamarin!
§  Live Coding Adventure!
§  Q...
Automatically test your app on!
hundreds of mobile devices !
Create native iOS, Android, Mac and
Windows apps in Visual St...
What is native?!
The Anatomy of a Native App!
Xamarin apps look and feel native because they are native!
Native User Interfaces! Native API...
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!
How does it work?!
Windows APIs!
iOS APIs | 100% Coverage!
Android APIs | 100% Coverage!
Anything you can do in Objective-C or Java !
can be done in C# with Xamarin using Visual Studio!
Xamarin.iOS does full Ahead Of Time
(﴾AOT)﴿ compilation to produce an
ARM binary for Apple’s App Store.
Native Performance...
Always Up to Date
Same day support for 
iOS 5, iOS 6, iOS 6.1, 
iOS 7, iOS 7.1!
Emerging Technologies & Devices
Always up-‐to-‐date with the latest APIs from
Apple and Google.

Android Wear Google Glass...
Let’s talk about !
code sharing…!
Xamarin’s Unique Approach!
Native With !
Code Sharing!
Code Sharing: Accelerate Development

Android	
  
iOS	
  
Mac	
  
WP	
  
File Linking
Shared Code Projects
Portable Class Libraries

•  1 Assembly
•  Multiple Platforms
•  Including:
•  Xamarin.Android
•  Xamarin.iOS
Portable Class Libraries Features
• Centralized Code Sharing
• How you expect it to work
• Debug seamlessly into and
out o...
Distribute Everywhere
A Xamarin app is an app, distribute it everywhere
Products
Xamarin.Mac
Xamarin Studio
Xamarin Test Cloud
Component Store
Xamarin.iOS
Xamarin.Android
Xamarin for 
Visual Studio
.NET ...
Development Environment
Xamarin Studio
PC or Mac
Visual Studio Plugin
VS 2010/2012/2013
Visual Studio Integration
Visual Studio Integration
Debug to:
•  Emulators
•  Devices

Integrated into toolbar
•  Status
•  Logs
•  List of devices
...
Xamarin Studio
Android Designer
iOS Designer
Xamarin Component Store
Build Apps Faster
.NET Mobility Scanner
http://scan.xamarin.com
How mobile is your .NET?
•  Scan .exe or .dll to determine compatibility
•  ...
Unrivaled Mobile Development Training!
Live unlimited mobile development training from mobile experts, !
in your time-zone...
Live Coding
Adventure 1!
Q & A!
!
Get your free C# t-shirt:!
xamarin.com/shirt!
@gshackles! @brentschooley! @jamesmontemagno!
15 Minute Break!
Cross-platform mobile development in !
C# with Xamarin!
Your Presenters!
Greg Shackles! Brent Schooley!James Montemagno!
Senior Engineer!
Olo!
Developer Evangelist!
Twilio!
Devel...
Agenda!
Part 1:!
§  Introduction!
§  Architecting Mobile Apps!
§  Overview of Xamarin!
§  Live Coding Adventure!
§  Q...
What’s new in!
Xamarin 3!
Major Elements of Xamarin 3!
1.  Xamarin Designer for iOS!
2.  Xamarin Studio & Visual Studio Enhancements!
3.  Easy code ...
Xamarin Designer for iOS!
Fully integrated into Xamarin
Studio & Visual Studio!
!
iOS 6 & 7 Storyboard support!
!
Intuitiv...
Xamarin Studio: Beautiful new look!
NuGet Package Manager!
NuGet support combined with the Xamarin Component Store gives Xamarin
developers the most comprehen...
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...
Live Coding
Adventure 2!
Portable	
  Class	
  Libraries	
  
Xamarin + Xamarin.Forms!
With Xamarin.Forms: !
more code-sharing, native controls!
Traditional Xamarin approach!
Shared UI...
Xamarin + Xamarin.Forms!
Shared UI Code!
Quickly and easily build native user
interfaces using shared code!
!
Xamarin.Form...
What’s Included!
§  40+ Pages, Layouts, and Controls!
§  Build from code behind or XAML!
§  Two-way Data Binding!
!
§ ...
Pages!
Content! MasterDetail! Navigation! Tabbed! Carousel!
Layouts!
Stack! Absolute! Relative! Grid! ContentView! ScrollView! Frame!
Controls!
ActivityIndicator! BoxView! Button! DatePicker! Editor!
Entry! Image! Label! ListView! Map!
OpenGLView! Picker! ...
Live Coding
Adventure 3!
Xamarin Recap!
§  iOS, Android, Mac, and Windows
apps all in C#!
§  Full API Coverage!
§  Native Performance!
§  Nativ...
Philly Xamarin Developer Group!
meetup.com/PhillyXamarin!
§  Monthly Meetups!
§  Ran by local developers!
§  Next meetu...
Key Attendees!
xamarin.com/evolve!
Unrivaled Mobile Development Training!
Live unlimited mobile development training from mobile experts, !
in your time-zone...
Q & A!
!
Get your free C# t-shirt:!
xamarin.com/shirt!
@gshackles! @brentschooley! @jamesmontemagno!
Introduction to Xamarin Philly Code Camp 2014
Introduction to Xamarin Philly Code Camp 2014
Upcoming SlideShare
Loading in …5
×

Introduction to Xamarin Philly Code Camp 2014

1,026 views

Published on

Introduction 2 Xamarin and cross platform development in C# with Brent Schooley, James Montemagno, and Greg Shackles. Presented at Philly Code Camp 2014

Published in: Software, Technology
  • Be the first to comment

  • Be the first to like this

Introduction to Xamarin Philly Code Camp 2014

  1. 1. Cross-platform mobile development in ! C# with Xamarin!
  2. 2. Your Presenters! Greg Shackles! Brent Schooley!James Montemagno! Senior Engineer! Olo! Developer Evangelist! Twilio! Developer Evangelist! Xamarin! greg@gregshackles.com! @gshackles! brent@twilio.com! @brentschooley! james.montemagno@xamarin.com! @jamesmontemagno! ! motzcod.es!
  3. 3. Philly Xamarin Developer Group! meetup.com/PhillyXamarin! §  Monthly Meetups! §  Ran by local developers! §  Next meetup: July 8th! !
  4. 4. Agenda! Part 1:! §  Introduction! §  Architecting Mobile Apps! §  Overview of Xamarin! §  Live Coding Adventure! §  Q&A! Part 2:! §  What’s new in Xamarin 3! §  Live Coding Adventure! §  Introduction to Xamarin.Forms! §  Live Coding Adventure! §  Q&A!
  5. 5. Automatically test your app on! hundreds of mobile devices ! Create native iOS, Android, Mac and Windows apps in Visual Studio and C#
  6. 6. What is native?!
  7. 7. The Anatomy of a Native App! Xamarin apps look and feel native because they are native! Native User Interfaces! Native API Access! Native Performance!
  8. 8. Architecting ! Mobile Apps!
  9. 9. The Silo Approach! Build App ! Multiple Times!
  10. 10. The Write-Once-Run-Anywhere Approach! Lowest Common! Denominator!
  11. 11. Xamarin’s Unique Approach! Native With ! Code Sharing!
  12. 12. How does it work?!
  13. 13. Windows APIs!
  14. 14. iOS APIs | 100% Coverage!
  15. 15. Android APIs | 100% Coverage!
  16. 16. Anything you can do in Objective-C or Java ! can be done in C# with Xamarin using Visual Studio!
  17. 17. Xamarin.iOS does full Ahead Of Time (﴾AOT)﴿ compilation to produce an ARM binary for Apple’s App Store. Native Performance Xamarin.Android takes advantage of Just In Time (﴾JIT)﴿ compilation on the Android device.
  18. 18. Always Up to Date Same day support for iOS 5, iOS 6, iOS 6.1, iOS 7, iOS 7.1!
  19. 19. Emerging Technologies & Devices Always up-‐to-‐date with the latest APIs from Apple and Google. Android Wear Google Glass Amazon Fire Phone Amazon Fire TV!
  20. 20. Let’s talk about ! code sharing…!
  21. 21. Xamarin’s Unique Approach! Native With ! Code Sharing!
  22. 22. Code Sharing: Accelerate Development Android   iOS   Mac   WP  
  23. 23. File Linking
  24. 24. Shared Code Projects
  25. 25. Portable Class Libraries •  1 Assembly •  Multiple Platforms •  Including: •  Xamarin.Android •  Xamarin.iOS
  26. 26. Portable Class Libraries Features • Centralized Code Sharing • How you expect it to work • Debug seamlessly into and out of PCL • Project/Assembly Sharing • NuGet
  27. 27. Distribute Everywhere A Xamarin app is an app, distribute it everywhere
  28. 28. Products
  29. 29. Xamarin.Mac Xamarin Studio Xamarin Test Cloud Component Store Xamarin.iOS Xamarin.Android Xamarin for Visual Studio .NET Mobility Scanner
  30. 30. Development Environment Xamarin Studio PC or Mac Visual Studio Plugin VS 2010/2012/2013
  31. 31. Visual Studio Integration
  32. 32. Visual Studio Integration Debug to: •  Emulators •  Devices Integrated into toolbar •  Status •  Logs •  List of devices Just Click Start Debugging!
  33. 33. Xamarin Studio
  34. 34. Android Designer
  35. 35. iOS Designer
  36. 36. Xamarin Component Store Build Apps Faster
  37. 37. .NET Mobility Scanner http://scan.xamarin.com How mobile is your .NET? •  Scan .exe or .dll to determine compatibility •  Generates full report:
  38. 38. 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! xamarin.com/university!
  39. 39. Live Coding Adventure 1!
  40. 40. Q & A! ! Get your free C# t-shirt:! xamarin.com/shirt! @gshackles! @brentschooley! @jamesmontemagno!
  41. 41. 15 Minute Break!
  42. 42. Cross-platform mobile development in ! C# with Xamarin!
  43. 43. Your Presenters! Greg Shackles! Brent Schooley!James Montemagno! Senior Engineer! Olo! Developer Evangelist! Twilio! Developer Evangelist! Xamarin! greg@gregshackles.com! @gshackles! brent@twilio.com! @brentschooley! james.montemagno@xamarin.com! @jamesmontemagno! ! motzcod.es!
  44. 44. Agenda! Part 1:! §  Introduction! §  Architecting Mobile Apps! §  Overview of Xamarin! §  Live Coding Adventure! §  Q&A! Part 2:! §  What’s new in Xamarin 3! §  Live Coding Adventure! §  Introduction to Xamarin.Forms! §  Live Coding Adventure! §  Q&A!
  45. 45. What’s new in! Xamarin 3!
  46. 46. Major Elements of Xamarin 3! 1.  Xamarin Designer for iOS! 2.  Xamarin Studio & Visual Studio Enhancements! 3.  Easy code sharing! 4.  Xamarin.Forms!
  47. 47. 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! ! ! !
  48. 48. Xamarin Studio: Beautiful new look!
  49. 49. NuGet Package Manager! NuGet support combined with the Xamarin Component Store gives Xamarin developers the most comprehensive ecosystem of libraries at their fingertips!
  50. 50. Xamarin Designer for iOS in Xamarin Studio!
  51. 51. First Class F# Support!
  52. 52. Shared Projects! The easiest way to share code! ! Eliminates the hassle of file-linking! ! Easier to collaborate with other Xamarin Studio and ! Visual Studio users !
  53. 53. Live Coding Adventure 2!
  54. 54. Portable  Class  Libraries  
  55. 55. Xamarin + Xamarin.Forms! With Xamarin.Forms: ! more code-sharing, native controls! Traditional Xamarin approach! Shared UI Code!
  56. 56. Xamarin + Xamarin.Forms! Shared UI Code! 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 APIs!
  57. 57. 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!
  58. 58. Pages! Content! MasterDetail! Navigation! Tabbed! Carousel!
  59. 59. Layouts! Stack! Absolute! Relative! Grid! ContentView! ScrollView! Frame!
  60. 60. Controls! ActivityIndicator! BoxView! Button! DatePicker! Editor! Entry! Image! Label! ListView! Map! OpenGLView! Picker! ProgressBar! SearchBar! Slider! Stepper! TableView! TimePicker! WebView! EntryCell! ImageCell! SwitchCell! TextCell! ViewCell!
  61. 61. Live Coding Adventure 3!
  62. 62. Xamarin Recap! §  iOS, Android, Mac, and Windows apps all in C#! §  Full API Coverage! §  Native Performance! §  Native User Interface! §  Code Sharing Between All Platforms!
  63. 63. Philly Xamarin Developer Group! meetup.com/PhillyXamarin! §  Monthly Meetups! §  Ran by local developers! §  Next meetup: July 8th! !
  64. 64. Key Attendees! xamarin.com/evolve!
  65. 65. 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! xamarin.com/university!
  66. 66. Q & A! ! Get your free C# t-shirt:! xamarin.com/shirt! @gshackles! @brentschooley! @jamesmontemagno!

×