GETTING STARTED
WITH CROSS
PLATFORM MOBILE
DEV IN C#
Ed Snider
Feb Mar 12 2014
Northern VA Mobile C#
Developers’ Group
CONTENT
Introduction
The Problem with Native Mobile App Dev
The Benefits of Multi-Platform Mobile Dev with C#
What is Xama...
INTRODUCTION
Ed Snider - @edsnider
Developer at InfernoRed Technology
Co-Organizer of NoVA Mobile C# Developers Group
www....
THE PROBLEM WITH
TRADITIONAL NATIVE MOBILE
APP DEV…
Native mobile apps are great but here’s the problem:
 Several Platfor...
THE BENEFITS OF MULTI-
PLATFORM
NATIVE MOBILE APP DEV
WITH C#Develop for all platforms with a single language – C# - using...
WHAT IS XAMARIN?
Xamarin is built on Mono
Allows native app compilation on Android and iOS using C#
100% API Coverage – Al...
XAMARIN DEVELOPMENT
TOOLS
Xamarin for Visual Studio Xamarin Studio for Windows and Mac
WHAT DOES THIS MEAN?
You can build most of your app using shared logic
You can use a single language with familiar tools
Y...
HOW?
LEVERAGE THE MVVM
PATTERN
View (UI)
ViewModel
Model
Data Binding
Commands
Service
Interfaces
Connectivity
Location
Camera
...
SHARE CODE!
Portable Class Library (PCL)
ViewModels
Models
Core App Library
Services, Business Logic, Service Access, Data...
SOME OTHER COOL THINGS
ABOUT XAMARIN…
Component Store: http://components.xamarin.com/
.NET Mobility Scanner: http://scan.x...
RESOURCES
Demo code: https://github.com/edsnider/CoffeeFinder-XamarinDemo
Xamarin Sample / Starter-Apps
 Employee Directo...
PUBLIC SERVICE
ANNOUNCEMENT
FROM @VISUALSTUDIO
Upcoming SlideShare
Loading in …5
×

Getting Started with Cross Platform Mobile Dev in C# (NoVA Mobile C# Dev Group 3/12/14)

471 views

Published on

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

No Downloads
Views
Total views
471
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Getting Started with Cross Platform Mobile Dev in C# (NoVA Mobile C# Dev Group 3/12/14)

  1. 1. GETTING STARTED WITH CROSS PLATFORM MOBILE DEV IN C# Ed Snider Feb Mar 12 2014 Northern VA Mobile C# Developers’ Group
  2. 2. CONTENT Introduction The Problem with Native Mobile App Dev The Benefits of Multi-Platform Mobile Dev with C# What is Xamarin? What does this mean for how we build mobile apps? How? Share Code Leverage the MVVM Pattern Code! Wrap up
  3. 3. INTRODUCTION Ed Snider - @edsnider Developer at InfernoRed Technology Co-Organizer of NoVA Mobile C# Developers Group www.infernored.com @infernoredtech
  4. 4. THE PROBLEM WITH TRADITIONAL NATIVE MOBILE APP DEV… Native mobile apps are great but here’s the problem:  Several Platforms: Windows, iOS, Android  Several Languages: C#, Objective-C, Java  Maintenance nightmares  Customers and end-users suffer
  5. 5. THE BENEFITS OF MULTI- PLATFORM NATIVE MOBILE APP DEV WITH C#Develop for all platforms with a single language – C# - using Xamarin  Harness the power of the .NET framework  Single solution with shared code  Unified and consistent maintenance/testing  Feature parity across platforms = happy end users + C#
  6. 6. WHAT IS XAMARIN? Xamarin is built on Mono Allows native app compilation on Android and iOS using C# 100% API Coverage – All iOS and Android APIs are exposed as C# class libraries Up-to-date with API releases from Apple and Google
  7. 7. XAMARIN DEVELOPMENT TOOLS Xamarin for Visual Studio Xamarin Studio for Windows and Mac
  8. 8. WHAT DOES THIS MEAN? You can build most of your app using shared logic You can use a single language with familiar tools You can keep native and platform-specific/familiar UIs
  9. 9. HOW?
  10. 10. LEVERAGE THE MVVM PATTERN View (UI) ViewModel Model Data Binding Commands Service Interfaces Connectivity Location Camera Etc… Platform Specific Service Implementations
  11. 11. SHARE CODE! Portable Class Library (PCL) ViewModels Models Core App Library Services, Business Logic, Service Access, Data Access, etc. Windows iOS Android View / UI Platform Specifics View / UI Platform Specifics View / UI Platform Specifics
  12. 12. SOME OTHER COOL THINGS ABOUT XAMARIN… Component Store: http://components.xamarin.com/ .NET Mobility Scanner: http://scan.xamarin.com/ F# preview: http://docs.xamarin.com/guides/cross-platform/fsharp/ Xamarin Test Cloud: http://xamarin.com/test-cloud
  13. 13. RESOURCES Demo code: https://github.com/edsnider/CoffeeFinder-XamarinDemo Xamarin Sample / Starter-Apps  Employee Directory App - http://xamarin.com/prebuilt/employeedirectory  Field Service App - http://xamarin.com/prebuilt/fieldservice
  14. 14. PUBLIC SERVICE ANNOUNCEMENT FROM @VISUALSTUDIO

×