Welcome to
Microsoft User Group Hyderabad
January 2014 UG Meet
Cross Platform, Native Mobile
Application Development
Using Xamarin and C#
Your Presenter
•

Shravan Kumar Kasagoni

•

Senior Mobile Web Software Engineer @
Thomson Reuters

•

Microsoft MVP - ASP...
Why Mobile?
mobile
huge

is
1 billion active mobile
broadband subscriptions
mobile is fast becoming
the primary way people
browse the web
mobile only web users
Native Platform Languages
Write Once, Run Anywhere?

!=

!=
C# to the rescue!
How?
What is Mono?
•

Open source implementation of the .NET platform
created by Ximian (ECMA 334/335)

•

2001: Created to bri...
Bringing .NET to Linux
.NET Apps

.NET Apps

Microsoft
.NET

Mono

Windows

Linux
.NET on Android,iOS
iOS

iOS

MonoTouch

Xamarin.iOS

Android

Android

Mono for Android

Xamarin.Android

Linux
Mono

Fre...
Xamarin
•

Founded in May 2011

•

Xamarin has a perpetual license to all Mono IP:
Copyrights, patents and trademarks

•

...
Bringing .NET to Android
Apps

.NET APIs

Android
Bindings

Mono Runtime

MCW

ACW

Android Kernel

android.*

java.*

Dal...
Brining .NET to iOS
NO RUNTIMES ALLOWED

Mono Runtime

iOS
Brining .NET to iOS
App
Application Code

.NET APIs

iOS Bindings

iOS
Anything you can do in
Objective-C or Java can be
done in C# with Xamarin.
C# Development Environments
MAC OSX

Windows

IDE

Xamarin Studio

VS + Xamarin
Xamarin Studio
Business Edition

iOS

WORK...
Demo Time
What Code Can Be Shared?
•

Most non-UI or platform code

•

Core application logic

•

Entities

•

LINQ (objects, XML)

...
Sharing Code Options
•

File Linking

•

Portable Class Library

•

Conditional Compilation
Demo Time
Reach Me
•

http://theshravan.net

•

@techieshravan
Thank You
Cross Platform, Native Mobile Application Development Using Xamarin and C#
Cross Platform, Native Mobile Application Development Using Xamarin and C#
Upcoming SlideShare
Loading in …5
×

Cross Platform, Native Mobile Application Development Using Xamarin and C#

861 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
861
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
56
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cross Platform, Native Mobile Application Development Using Xamarin and C#

  1. 1. Welcome to Microsoft User Group Hyderabad January 2014 UG Meet
  2. 2. Cross Platform, Native Mobile Application Development Using Xamarin and C#
  3. 3. Your Presenter • Shravan Kumar Kasagoni • Senior Mobile Web Software Engineer @ Thomson Reuters • Microsoft MVP - ASP.NET/IIS • http://theshravan.net • @techieshravan
  4. 4. Why Mobile?
  5. 5. mobile huge is
  6. 6. 1 billion active mobile broadband subscriptions
  7. 7. mobile is fast becoming the primary way people browse the web
  8. 8. mobile only web users
  9. 9. Native Platform Languages
  10. 10. Write Once, Run Anywhere? != !=
  11. 11. C# to the rescue!
  12. 12. How?
  13. 13. What is Mono? • Open source implementation of the .NET platform created by Ximian (ECMA 334/335) • 2001: Created to bring Windows applications to Linux • 2003: Acquired by Novell with Ximian • Matured at Novell in research mode; now a worldclass runtime.
  14. 14. Bringing .NET to Linux .NET Apps .NET Apps Microsoft .NET Mono Windows Linux
  15. 15. .NET on Android,iOS iOS iOS MonoTouch Xamarin.iOS Android Android Mono for Android Xamarin.Android Linux Mono Free Software/Open Source License Commercial License
  16. 16. Xamarin • Founded in May 2011 • Xamarin has a perpetual license to all Mono IP: Copyrights, patents and trademarks • Focused on mobile app development
  17. 17. Bringing .NET to Android Apps .NET APIs Android Bindings Mono Runtime MCW ACW Android Kernel android.* java.* Dalvik Runtime
  18. 18. Brining .NET to iOS NO RUNTIMES ALLOWED Mono Runtime iOS
  19. 19. Brining .NET to iOS App Application Code .NET APIs iOS Bindings iOS
  20. 20. Anything you can do in Objective-C or Java can be done in C# with Xamarin.
  21. 21. C# Development Environments MAC OSX Windows IDE Xamarin Studio VS + Xamarin Xamarin Studio Business Edition iOS WORKS Android WORKS MAC WORKS WORKS + MAC WORKS WORKS
  22. 22. Demo Time
  23. 23. What Code Can Be Shared? • Most non-UI or platform code • Core application logic • Entities • LINQ (objects, XML) • Network access (system.Net)
  24. 24. Sharing Code Options • File Linking • Portable Class Library • Conditional Compilation
  25. 25. Demo Time
  26. 26. Reach Me • http://theshravan.net • @techieshravan
  27. 27. Thank You

×