Developing Mobile Applications using MVVM with Xamarin Forms

Slides:



Advertisements
Similar presentations
FIM MOBILE PRESENTATION
Advertisements

Attie Naude 14 May 2013 Windows Azure Mobile Services.
UNIT-e futures and UNIT-e Mobile Ben Potter Systems Architect.
Amanda Silver Director of Program Management Visual Studio Tools for Client Applications Cross-Platform Development using Visual Studio.
Essentials of Developing Windows Phone Apps Chinthaka Dissanayake Tech Lead Exilesoft.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Every company is a software company “CIOs will measure the impact of their business technology agenda based on the impact on the consumer – and not.
Microsoft Evangelist Presentation September 13, 2012.
Mobile Development with Xamarin Mark Allan Ranyart
James Montemagno Developer Evangelist, Xamarin Developing Native iOS, Android, & Windows Apps with C#, Xamarin, and Visual Studio 2015.
BUILD CROSS-PLATFORM NATIVE MOBILE APP FOR DNN DNN Mobi.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Title slide to be used at the start of a module. Developing Mobile Apps Roland Guijt
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
Developing Cross-Platform Applications with Visual Studio 2015
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Strategies for Developing Cross-Platform Applications Dinis Vieira.
Developing Native iOS, Android, and Windows apps in C# with Xamarin
Developing Enterprise Mobile Apps with Xamarin Loren Horsager CEO, Mobile Composer.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Folio3 IPhone Training Session 1 Presenter: Imam Raza.
Mobile Device Programming
Understanding Xamarin Development Matt
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1.
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Lewis Benge Bring your code to Windows MOB336.
Bridges to the Magickal Faerie Land of Windows 10 Hannes Nel M263.
 Can access all API’s made available by OS vendor.  SDK’s are platform-specific.  Each mobile OS comes with its own unique tools and GUI toolkit.
Best 5 Mobile App Development Tools for Developer's to think beyond the Limitation.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
/DEV/TM #1 Building Cross-Platform Apps with Xamarin and MvvmCross Flavius-Radu DEMIAN.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
Understanding the Xamarin Mobile Platform
Your Host & Speaker Shahed Chowdhuri Sr. Technical Microsoft Technology Areas Enterprise Web/Software Development Game Development Mobile.
Redmond Protocols Plugfest 2016 Tristan Davis Office Developer Platform Overview Principal Group Program Manager.
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Part time at Arcanic and freelance consultant Mostly backend development Past few years focus has been on Windows Phone and Windows Store (Windows 8/8.1)
Build Hybrid Mobile Apps with Ionic, Angular, & Cordova Brian
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Creating mobile applications that integrate with SharePoint 2013 on-
Mobile Application Solution
Windows Bridge for iOS Bring your iOS apps to Windows
Cross-platform app development
12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Introduction to Xamarin C# Everywhere
Microsoft Evangelist Presentation
Maximizing Reach Through Cross-Platform Mobile Development
State of the Art in Mobile Development
All about Ashley GmbH COMMUNICATION PARTNERS Partner overview.
Xamarin Studio Xamarin Curriculum for Xamarin Studio
What can Visual Studio do for Mobile Dev?
Mobile App Trends: lifecycle, functions, and cognitive
Building Custom Application With Office Add-Ins for OneNote
6/9/2018 3:45 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Build Connected Productivity Apps for SharePoint and Office
Microsoft Build /23/ :01 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Apache Cordova Overview
Build Windows 10 UWP MVVM Apps with Prism
OpenWells Cross-Platform Mobile Application
Mobile Application Solution
Introduction to Xamarin C# Everywhere
Microsoft Build /17/2018 2:10 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
ideas to mobile apps in record time,
Office 365 Development.
Building Metro style apps with XAML with .NET
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development.
Microsoft Build /8/2019 6:29 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Brandon Bray Principal Group Program Manager Microsoft Corporation
Presentation transcript:

Developing Mobile Applications using MVVM with Xamarin Forms

Getting To Know You

Eric Grover Senior Consultant with Content & Collaboration / Application Development Group Twitter: @BlueChipEric Blog: http://www.ericgrover.com

Blue Chip Featured Expert Ask Our Experts! Visit the Blue Chip booth to chat with one of our Expert Consultants Drop us your business card, and we’ll help you solve your business problem and you might win an (Drawing Tuesday) Our resident SharePoint MCM/MVP is here all day, Monday & Tuesday* Visit our other sessions in the SharePoint & PowerShell tracks! *Except when presenting Blue Chip Featured Expert Paul Stork @PStork Paul is a Microsoft SharePoint MVP and MCM who works as Principal Architect at Blue Chip Consulting Group. An author and/or contributor on several SharePoint books, Paul is a well-known contributor to the SharePoint community.

The Story Of Xamarin Forms Which problems does Xamarin Forms address? What exactly is Xamarin Forms? How do we use the MVVM pattern in Xamarin Forms? What kind of apps can we build with Xamarin Forms?

The Mobile Dev Pit Of Dispair Write an iOS app in Objective-C and UIKit in Xcode. Write an Android app in Java and Android XML in Eclipse. Write a Windows Phone app in C# and XAML in Visual Studio. (You probably never get around to this!)

Inconceivable? Wouldn’t it be cool if … We could write apps for Android and iOS along with Windows Phone in Visual Studio? We could write apps for Android and iOS in C# instead of Objective-C and Java, but still have full access to each platform’s API? We could share over 80-90% of our code across platforms? We could write our UI with a common MVVM framework, but still render native controls?

As You Wish - Xamarin Forms Xamarin Forms is framework that allows you to build native UIs for iOS, Android, and Windows Phone from a single, shared C# codebase. Xamarin Forms runs on top of Xamarin iOS and Xamarin Android.

Xamarin iOS iOS apps are built using the Xamarin Ahead-of-Time (AOT) compiler that compiles C# directly to native ARM assembly code, producing ARM binaries for the apple App Store. Your app is a native platform binary – not cross compiled, not interpreted, and not a web page masquerading as a native app. 100% iOS SDK (including iOS 8) interface with C#. Call existing Objective-C code from C# for leveraging frameworks built for iOS.

Xamarin Android Android apps use just-in-time (JIT) compilation. Your app is a native Android APK —not cross-compiled, not interpreted, and not a web page posing as an Android app. 100% of Android APIs interface with C#, even adding async support (via the TPL). Call existing Java code from C# for custom Android libraries.

Visual Studio Integration Xamarin integrates Visual Studio with the Android SDK so you can build and run apps to emulators and phones on your PC. Xamarin integrates Visual Studio with XCode on a Mac via a build host running on the Mac. A Windows dev PC is paired over the network with the build host on the Mac.

Xamarin Forms Solution Visual Studio new project template creates a solution with 4 projects. Windows Phone App Android App iOS App Shared Assembly or PCL

New Solution Demo

Building the UI Xamarin Forms allows you to create your UI in XAML that is then rendered for each platform using native UI controls for each platform. Xamarin Forms provides basic renders for a core set of common controls, and allows you to override or extend the renders with your own custom code.

Building the UI

Page Types

Layout Containers

Controls

Xamarin XAML Xamarin Forms XAML is not the same as the Microsoft XAML used to build WPF/Silverlight/WindowsStore/WinPhone apps. Like Microsoft XAML, Xamarin XAML allows you to build visual trees, but it has a very different set of controls and containers.

Visual Tree Example

Not Locked In Xamarin Forms allows you to mix native UIKit, AnroidXML, and WindowsPhone XAML pages with your Xamarin Forms pages. You can embed custom views build with native UI framework in your Xamarin Forms page.

Maps Xamarin Forms wraps each platform’s native map technology in a easy to use control.

Animation Xamarin Forms provides a set of async, composable extension methods that allow you to animate any UI control. Animation extension provide ability to: Fade Rotate (2D) Scale Translate Layout (change bounds) Easing algorithms can be applied to each animation.

Dependency Service Xamarin Forms provides a dependency service so that you can write and inject your own platform-specific services in your shared C# code. Useful for abstracting things like sending an e-mail, raising a notification, etc.

MVVM Architecture Xamarin Forms provides two-way data binding so that you can implement the INotifyPropertyChanged interface. Xamarin Forms has a Messaging service that allows weak-referenced communication across views and view models.

Navigation Xamarin Forms implements a page based navigation stack that allows you to push and pop pages to navigate forward and backward.

Xamarin Forms Labs Open source project for creating controls, services, and MVVM helpers for Xamarin Forms. Not officially affiliated with Xamarin, but there are Xamarin employees who contribute. My contribution: RepeaterView control https://github.com/XForms/Xamarin-Forms-Labs

MVVM Demo

Cleveland Plays App League standings and schedule. Real-time stat entry for games. Career and fantasy league stats. Geofence alerts for partner businesses. “CP Bucks” POS discount.

App Technologies WCF JSON.Net SingalR Reactive Extensions SQL Lite Google Maps / Apple Maps

CP Demo

Have Fun Storming The Castle! Questions?