Cross platform mobile development with C#

1,400 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,400
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
33
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cross platform mobile development with C#

  1. 1. Glasgow Mobile .NET Developers
  2. 2. Glasgow Mobile .NET Developers We discuss the use of .NET for building mobile applications. We will focus on multi-platform mobile development, including Xamarin (iOS & Android), Windows Phone, HTML5 and ASP.NET.
  3. 3. We need Speakers
  4. 4. Organisers Chris Koiak Jon Carlos @chriskoiak @billywizz ! Gordon Langford David Conlisk @kodejack @dconlisk
  5. 5. Screenmedia “Scotland’s first Xamarin Premier Consulting Partner” www.screenmedia.co.uk
  6. 6. Cross Platform Mobile Development with C#
  7. 7. Xamarin Platform • One language & framework • Create native apps • IDEs: Visual Studio or Xamarin Studio C#
  8. 8. Why Xamarin? • Full control • Familiar development environment • Native controls • Native performance • Code reuse • Active component store
  9. 9. Why not Xamarin? • You need a licence • It’s not a shared UI Platform • You need to understand each platforms UI controls and UX paradigms • You need a Mac for iOS dev
  10. 10. Xamarin Community • 500,000 Developers worldwide • forums.xamarin.com • stackoverflow.com • twitter.com
  11. 11. MvvmCross
  12. 12. Architecture - MVVM View View Data Binding & Commands View Model Model Business Logic & Service Layer Data Access View
  13. 13. MvvmCross (Mvx) • Extensive framework used by many • Great tutorials at • mvvmcross.blogspot.co.uk • https://github.com/MvvmCross/ NPlus1DaysOfMvvmCross • IoC & DI is out the box • Plugins for platform dependent functionality * Other MVVM frameworks are available: MVVMLight, ReactiveUI or roll your own.
  14. 14. MvvmCross Plugins Plugins are cross platform implementations of common functions that all adhere to the same interface • PhoneCall Plugin • SQLite Plugin • PictureChooser Plugin • DownloadCache Plugin • Location Plugin • File Plugin • Network Plugin • Accelerometer Plugin • Messenger Plugin • … and more
  15. 15. DEMO ! Kitten List
  16. 16. Demo: Q&A
  17. 17. Two IDEs • Visual Studio 2012/13 support with business licence • Xamarin Studio is great too! • Development and build can be separated
  18. 18. PCL vs Linked Files • PCL support (Profile158) is stable-ish • Try PCL until you can’t. • Plugins are easy to write • Existing codebase may not build under PCL (e.g. XmlDocument or DataTable) !
  19. 19. Resources • https://github.com/jamesmontemagno/ MeetupManager/ • https://github.com/MvvmCross/ NPlus1DaysOfMvvmCross • Twitter: @slogde, @mvvmcross, @jamesmontemagno, @fastchicken, @paulbetts, @xamarinhq, @cheesebaron, @mikebluestein, @redth
  20. 20. Q&A Panel
  21. 21. Next Meetup • Once a month • Details will go on meetup.com • Speakers and Venues required • Suggest topics for discussion
  22. 22. Thank You

×