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.

EastBay.net Building Mobile Apps with Xamarin and Visual Studio

359 views

Published on

Presentation for user group talk 14 July 2016

Published in: Technology
  • Be the first to comment

  • Be the first to like this

EastBay.net Building Mobile Apps with Xamarin and Visual Studio

  1. 1. + 14 July 2016
  2. 2. Craig Dunn Xamarin Microsoft craig@xamarin.com conceptdev. blogspot.com @conceptdev
  3. 3. First release of Xamarin.Mac Launch Partner Program 200,000 Developers Xamarin Founded First release of Xamarin.Android Xamarin.iOS launches (originally known as MonoTouch) Ximian Founded 2001 2003 2009 2011 2012 2013 Mono Launches Ximian Acquired by Novell Xamarin 2.0 Component Store Xamarin Test Cloud Evolve 2013 Microsoft Partnership 500,000 Developers 100+ Partners 100+ Components 2014 // Xamarin 3 2000 SAP Partnership Fire TV Support Salesforce partnership Visionary in Gartner Magic Quadrant Google Glass Support Visual Studio Partner of the Year Android Wear Support Xamarin Evolve 2014 800,000 Developers 200+ Partners 200+ Components 2015 1 Million Developers IBM Partnership Visual Studio 2015 Support Oracle Partnership Apple Watch Support C# 6 Support 1,100,000 Developers 230+ Partners 300+ Components Xamarin Insights Xamarin University Xamarin.iOS Xamarin.Android Xamarin.Mac 2016 Microsoft Test Cloud Xamarin.Forms .NET & Mono MonoMac MoonlightSilverlight 2010
  4. 4. Shared C# codebase • 100% native API access • High performance iOS C# UI Windows C# UIAndroid C# UI Shared C# Code
  5. 5. ✓ Android ✓ iOS ✓ Xamarin.Forms  File > New  App Settings  Screen design  Images & Resources  C# code X
  6. 6. Android
  7. 7. ✓ demo: TaskyProPortable
  8. 8. Mono Android C# .NET Windows C# Shared C# Code Mono iOS C# Parts of Mono being used (unused code linked away) runs natively on Android • User Interface Code (C#) • Android XML layouts • Platform features (eg Android M) Widgets etc SQLite URLConnection file system etc native UI Android Java C NDK“bindings” Shared C# Code • Business Logic • Database (SQLite) • Web services • File operations
  9. 9. Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.
  10. 10. iOS
  11. 11. ✓ Create iOS, tvOS, watchOS apps ✓ Access all native iOS features ✓ Edit Storyboards and XIBs ✓ Build, test in simulator, debug ✓ Also use Xamarin.Studio on OS X
  12. 12. ✓ demo: TaskyStoryboard
  13. 13. ✓ demo: To9o
  14. 14. Mono .NETMono iOS C# Windows C#Android C# Shared C# Code Parts of Mono being used (unused code linked away) runs natively on iOS • User Interface Code (C#) • Storyboards & XIBs • Platform features (eg iOS 9) Shared C# Code • Business Logic • Database (SQLite) • Web services • File operations UIKit PassKit etc SQLite NSUrlSession file system etc native UI iOS CocoaPods Obj-C libs“bindings”
  15. 15. Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store. Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.
  16. 16. https://medium.com/@harrycheung/mobile-app- performance-redux-e512be94f976#.5thv4hcj8
  17. 17. Mac iOS Android Windows Phone iCircuit Touch Draw 86% 14% 72% 28% 70% 30% 61%39% 88% 12% 76% 24% 90% 10%
  18. 18. Xamarin.Forms
  19. 19. Traditional Xamarin Approach With Xamarin.Forms: More code-sharing, still all native iOS C# UI Windows C# UIAndroid C# UI Shared C# Backend Shared UI Code Shared C# Backend
  20. 20. ✓ demo: Todo (Xamarin.Forms)
  21. 21. craig@xamarin.com conceptdev.blogspot.com @conceptdev Sample Code github.com/xamarin/mobile-samples github.com/conceptdev/xamarin-samples github.com/xamarin/xamarin-forms-samples
  22. 22. Craig Dunn Xamarin Microsoft craig@xamarin.com conceptdev.blogspot.com @conceptdev Thank you!

×