Cross Platform app development with Xamarin Shahriar Hossain Microsoft MVP @shossain_tweet #Career Guideline
Cross Platform app development
with Xamarin
Shahriar HossainMicrosoft MVP
@shossain_tweet
#Career Guideline
Silo Approach
Build Apps Multiple Times
• Multiple Teams
• Multiple Code Bases
• Different toolsets
HTML - Write Once, Run Anywhere Approach
• Lowest common denominator
• Browser fragmentation
• Developing & designing for 1 platform, happen to get other platforms
Start with HTML5/CSS3/JavaScript Use PhoneGap Deploy to platforms
Technology Stack
3rd Gen
Technology
What is Xamarin?
Xamarin’s Unique Approach
• Native User Interface
• Native Performance
• Shared code across platforms
• C# & .NET Framework
• Full API Coverage
With Xamarin.Forms:
more code-sharing, native controlsTraditional Xamarin approach
Shared UI Code
Xamarin.Forms Unique Approach
Native User Interface
http://tinyurl.com/xamarin-forms
Content MasterDetail Navigation Tabbed Carousel
Pages
Stack Absolute Relative Grid ContentVie
w
ScrollView Frame
Layouts
ActivityIndicator BoxView Button DatePicker Editor
Entry Image Label ListView Map
OpenGLView Picker ProgressBar SearchBar Slider
Stepper TableView TimePicker WebView EntryCell
ImageCell SwitchCell TextCell ViewCell
Controls
Use a single API to generate native, platform-specific user
interfaces
At runtime, each Xamarin.Forms page and its
controls are mapped to platform-specific
native user interface elements
Xamarin.Forms Example
Native API access
.NET + Windows APIs
.NET + iOS APIs | 100% Coverage
.NET Android APIs | 100% Coverage
Native Performance
Xamarin.iOS does full Ahead Of Time
(AOT) compilation to produce an
ARM binary for Apple’s App Store.
Native Performance
Xamarin.Android takes advantage
of Just In Time (JIT) compilation on
the Android device.
Performance Compare
Technology Stack
Any Other Reason???
Anything you can do in Objective-C, Swift, or Java
can be done in C# with Xamarin using Visual Studio
Real-time monitoring. Track crashes
and exceptions to understand what
is happening with live users.
DEMO
Shahriar
Hossain
Personal Blog
http://LearnWithShahriar.wordpress.com
Thank You