1 / 24

Cross Platform Mobile Development with .NET

Cross Platform Mobile Development with .NET. Greg Shackles Senior Software Engineer OLO Online Ordering greg@gregshackles.com. Who is this guy?. Greg Shackles greg@gregshackles.com gregshackles.com Twitter: @ gshackles Google+: plus.tl/ gshackles github.com/ gshackles. C# To Go.

Download Presentation

Cross Platform Mobile Development with .NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cross Platform Mobile Development with .NET Greg Shackles Senior Software Engineer OLO Online Ordering greg@gregshackles.com

  2. Who is this guy? Greg Shackles greg@gregshackles.com gregshackles.com Twitter: @gshackles Google+: plus.tl/gshackles github.com/gshackles

  3. C# To Go http://shackl.es/CSharpToGo

  4. Market Share (US)

  5. Platform Languages

  6. Cross Platform Solutions and many more…

  7. Spoiler Alert

  8. Different Platforms are…Different != !=

  9. .NET to the Rescue!

  10. Why?

  11. Sharing

  12. Reusability Story UI Silverlight MonoTouch Mono for Android C# Business Logic Runtime .NET Mono Platform WP7 iOS Android

  13. What is Mono? Implementation of the .NET CLR Open source Cross platform Supports most of .NET 4.0 mono-project.com

  14. MonoTouch Bindings to CocoaTouch .NET – LINQ, generics, etc (Moonlight) AOT compilation Linker Memory management Integrates with Interface Builder ios.xamarin.com

  15. Mono for Android Wraps Java/Android API .NET – LINQ, generics, etc (Moonlight) Linker Visual Studio 2010 or MonoDevelop android.xamarin.com

  16. Mono for Android Architecture • Android/Managed Callable Wrappers • JNI bridges to talk between Android and Mono

  17. Mono for Android API .NET events replace listener interfaces Action replaces Runnable Enumerations Properties Attributes and tooling generate configuration Uses standard Android resource files

  18. Platform Comparison • UI • Tooling • IDE • Emulator • Multitasking / Lifecycle • Storage • File system • Database • Shared Resources

  19. Code Sharing Techniques • Link files • Preprocessor directives #if MONOTOUCH • Messaging (publish/subscribe) • Abstraction • Third party libraries • sqlite-net • TinyIoC/ TinyMessenger • MonoMobile.Extensions

  20. NYC Code Camp App

  21. App Architecture App.MonoTouch App.MonoAndroid App.WP7 CC.Core.MonoTouch CC.Core.MonoAndroid CC.Core.WP7 CodeCamp.Core Entities Libraries DataAccess Messaging ViewModels

  22. Questions?

More Related