c# no bolso - desenvolvendo apps multiplataforma

54
C# no bolso – Desenvolvendo apps Multiplataforma Desenvolvedor e Influenciador C# fb.com/allan.cleysson // @allanzh Allan Cleysson

Upload: allan-cleysson

Post on 16-Aug-2015

419 views

Category:

Technology


1 download

TRANSCRIPT

  1. 1. C# no bolso Desenvolvendo apps Multiplataforma Desenvolvedor e Influenciador C# fb.com/allan.cleysson // @allanzh Allan Cleysson
  2. 2. Xamarin is a better way to Build Test Monitor
  3. 3. Create native iOS, Android, Mac and Windows apps in Visual Studio and C#
  4. 4. C# on 2.6 billion devices
  5. 5. Mobile Development Approaches
  6. 6. Silo Approach Pros: Great apps. Best User eXperience.
  7. 7. Silo Approach Cons: Multiple Teams. Multiple Code Bases. Code maintenance. Expensive and Slow. Different toolsets.
  8. 8. Write Once, Run Anywhere Approach Pros: Developing & designing for 1 platform, happen to get other platforms. Lower Cost. Smallest Team.
  9. 9. Write Once, Run Anywhere Approach Cons: Unhappy Users and Developers. Limited to what is implemented. Slower Apps.
  10. 10. Xamarins Unique Approach Native User Interface Native Performance Shared code across platforms C# & .NET Framework Full API Coverage
  11. 11. With Xamarin.Forms: more code-sharing, native controls Traditional Xamarin approach Shared UI Code Xamarin.Forms Unique Approach
  12. 12. 40+ Pages, Layouts, and Controls Build from code behind or XAML Two-way Data Binding Navigation Animation API Messaging Center Shared UI Code Whats Included
  13. 13. Why C#?
  14. 14. C# is Awesome LINQ Support Work With XML Easily XDocument Event Handling & Delegates
  15. 15. Json.NET offers simple conversions to and from JSON strings and .NET objects, with SerializeObject and DeserializeObject methods. C# Is Awesome JSON Made Easy
  16. 16. C# with XamarinObjective-C See the Difference Classes and Methods
  17. 17. Write Beautiful & Maintainable Code Async/Await
  18. 18. Why Xamarin?
  19. 19. Write Everything in C# C# Runs on 2.6 Billion Devices
  20. 20. 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 Over a Decade of Enterprise Production Use 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
  21. 21. Enterprise Customers in all Verticals & Use Cases
  22. 22. How Xamarin Works
  23. 23. .NET + Windows APIs
  24. 24. .NET + iOS APIs | 100% Coverage
  25. 25. .NET Android APIs | 100% Coverage
  26. 26. Anything you can do in Objective-C, Swift, or Java can be done in C# with Xamarin using Visual Studio
  27. 27. Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apples App Store. Native Performance Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.
  28. 28. Always Up-to-Date Track record of offering same-day support: iOS 5, iOS 6, iOS 7, iOS 7.1, iOS 8 Full support for: Google Glass Android Wear Amazon Fire TV More!
  29. 29. Code Sharing: Accelerate Development Up to 90% Code Reuse Leverage existing libraries NuGet Support Code-sharing stats from iCircuit, built with Xamarin and featured on the App Store. Source: http://praeclarum.org/post/42378027611/icircuit-code-reuse-part-cinq
  30. 30. 1 Assembly Multiple Platforms Including: Xamarin.Android Xamarin.iOS Portable Class Libraries
  31. 31. NuGet
  32. 32. Microsoft and Xamarin Partner Globally With Xamarin, developers combine all of the productivity benefits of C#, Visual Studio 2013 and Windows Azure with the flexibility to quickly build for multiple device targets. S. Somasegar, Corporate Vice President, Microsoft
  33. 33. Distribute Everywhere A Xamarin app can be distributed everywhere
  34. 34. Xamarin Studio PC or Mac Visual Studio Plugin VS 2010 and Higher Development Environment
  35. 35. Visual Studio Integration A single solution: iOS Android Windows Phone Windows Store Leverage the entire Microsoft ecosystem: ReSharper Team Foundation Server Your favorite code coverage and profiling tools
  36. 36. Visual Studio Integration Debug to: Emulators Devices Integrated into toolbar Status Logs List of devices Just Click Start Debugging!
  37. 37. Xamarin Studio Optimized for cross-platform mobile development Explore native APIs with code completion World class Android and iOS designers Powerful debugging on simulator or device
  38. 38. Android Designer Worlds best Android designer Available in: Xamarin Studio Visual Studio Create UI with drag & drop simplicity Target multiple screen sizes, resolutions and Android versions Layouts saved in standard Android XML files
  39. 39. Xamarin Designer for iOS Worlds first iOS Designer available in Xamarin Studio and Visual Studio Follows familiar Visual Studio designer idioms Supports all UIKit elements Edit custom and 3rd party components Live preview of changes to properties
  40. 40. Xamarin Component Store Build Apps Faster Add high quality pre-built app components directly from Visual Studio and Xamarin Studio Beautiful cross-platform UI controls, cloud services and enterprise backend integrations are just a few clicks away
  41. 41. Xamarin Android Player High Speed Android Emulator Mac or PC Runs side-by-side Windows Phone Emulator Free for Xamarin Subscribers: Xamarin.com/Android-Player
  42. 42. Pre-built T-Shirt Store Features: Shopping Cart Social Share Gravatar Integration Beautiful Animations Technical Details Code sharing with Shared Project Android Fragments Local image caching Cross platform image downloading Modular/self-contained screens http://xamarin.com/prebuilt/sharp-shirt
  43. 43. Automatically test your app on thousands of real devices in the cloud.
  44. 44. 3 OS versions 19 devices 20 languages 35 locales 6 screen sizes 9 OS versions 6 Screen configurations 27 screen sizes 39 languages 57 locales 15 Manufacturers Over 18,000 distinct devices On Mobile, Quality is Hard
  45. 45. Real-time monitoring. Track crashes and exceptions to understand what is happening with live users.
  46. 46. Report Automatically report any uncaught managed or native exception. Report your own caught exceptions with simple cross-platform API
  47. 47. Track Track any event that occurs in your application. Even track performance of how long an operation takes.
  48. 48. Identify Combine event tracking with user identification to resolve issues faster.
  49. 49. Even More!
  50. 50. Xamarin.Forms Controls blog.xamarin.com/enterprise- component-vendors-join- xamarin.forms-ecosystem/
  51. 51. Unrivaled Mobile Development Training Live online training from Xamarin experts Lectures and labs One-on-one with expert Xamarin mobile developers What Youll Learn iOS and Android Fundamentals Mobile App Lifecycle Native UI and Controls Cross-platform Architecture Mobile Best Practices Secure Backend Integration
  52. 52. Get Started Today: xamarin.com/download