Hot Tuna CROSS PLATFORM DEVELOPMENT WITH.NET, XAMARIN AND MVVMCROSS.

Slides:



Advertisements
Similar presentations
MVVM Basics with Caliburn.Micro Presented by Stefan Nuxoll, Lithium PC.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Introducing SkyDrive. With Windows 8 never be without your files again. SkyDrive helps you sync, store,
CROSS PLATFORM DEVELOPMENT WITH MVVM CROSS By Ken Tucker.
Real world Windows Phone development Igor
C# everywhere Building cross-platform apps with Xamarin Gill
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.
Building Silverlight Applications Using the MVVM pattern An Introduction by Peter Messenger Senior Developer – Qmastor
James Montemagno Developer Evangelist, Xamarin Developing Native iOS, Android, and Windows Apps in C# with Xamarin.
Alejandro Campos Magencio MS Technical Extreme Code Sharing with C# Y A XB.
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson
Title slide to be used at the start of a module. Developing Mobile Apps Roland Guijt
Developing Mobile Applications using MVVM with Xamarin Forms
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.
Getting Started with Caliburn.Micro and Windows Phone 7 Gary Ewan Park Twitter: Blog:
Understanding Xamarin Development Matt
Windows Phone MVVM and Unit Testing Step by Step Andy Wigley Windows Phone Development MVP, Mobile Software Consultant APPA Mundi Ltd WPH208.
How do I use my Ebooks? Nursing 100 Fall So what’s so great about an Ebook? They are inexpensive Environmentally friendly Lighter to carry Offer.
Windows 8 for Existing.NET Developers Tim Heuer Program Manager Windows Developer Experience Microsoft Corporation.
KAASHIV INFOTECH Presents INTEL XDK For Inplant Training / Internship, please download the "Inplant training registration form" from our website
Andrew Coates Advanced Windows 10 development with the Office 365 APIs DEV33 5.
04 |Sharing Code Between Windows 8 and Windows Phone 8 in Visual Studio Ben Riga
05 | Xamarin Forms, kódosztási technikák Farkas Bálint | Technical Evangelist | Microsoft.
/DEV/TM #1 Building Cross-Platform Apps with Xamarin and MvvmCross Flavius-Radu DEMIAN.
The cutting edge event for ITPros and Devs December 7-8, 2013 Athens, Greece Fix it once use it everywhere Elias Markelis MCT, Windows Phone Enthusiast.
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)
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Creating mobile applications that integrate with SharePoint 2013 on-
What is it all about? .NET MeetUp in Prague, CZ (2017/7/19)
Xamarin Development with
Windows 8 + Windows Phone + cloud
GrapeCity Build Experiences with Enterprise-level Tools and Solutions
12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modernizing your. NET applications with. NET Standard,
In Windows 8 Store Applications
State of the Art in Mobile Development - AndRES Käver, 2016
Beginning of Xamarin for iOS development
Real world Windows Phone development
Introduction to Xamarin C# Everywhere
Xamarin Mac application development
Xamarin Studio Xamarin Curriculum for Xamarin Studio
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
DotnetConf 9/10/2018 7:49 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Mobility for Real Estate – Extending JDE Core Data to User Fingertips
“IMO is a messaging and free video calling app.”
It’s a Knockout! MVVM Style Web Development
Hybrid Mobile Applications
Introduction to Xamarin C# Everywhere
What is it all about? .NET MeetUp in Amsterdam, NL (2017/7/11)
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Sviluppo mobile con Visual Studio OnLine
Slides and images stolen from “real” .NET Conf. presenters
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Microsoft Ignite /14/ :21 AM BRK2101
Microsoft Build /17/2018 2:10 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Cross Platform Development with Xamarin & Visual Studio 2013
Office 365 Development.
What?   Accounts Accounts subscription Azure Pass Code Azure Pass Code.
Microsoft Connect /1/2018 2:36 AM
File Picker for OneDrive and OneDrive for Business
What’s new for Windows 8 Devs Part 2
Building Metro style apps with XAML with .NET
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Sharing Code across Platforms with Visual Studio 2015
Bringing existing managed code into Metro style apps
11/11/2019 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Presentation transcript:

Hot Tuna CROSS PLATFORM DEVELOPMENT WITH.NET, XAMARIN AND MVVMCROSS

Sean’s Guff Formerly CIO at Catalyst Risk Management Currently unemployed Personal shareware site at Blog at sourceitsoftware.blogspot.com

To cover What are we trying to achieve Example Theory (boring!) Getting started with MvvmCross Plugins Platform specific stuff Summary Links

The holy grail

What is achievable

Example – Lions Official (sorry)

The pieces. net (duh) Xamarin (iOS, Android, Mac) Portable Class Libraries MvvmCross

Xamarin Commercial products for C# development for non-Windows platforms Xamarin.Android Xamarin.iOS Xamarin.Mac Need business edition for VS $999 US each

Xamarin Demo

Portable Class Libraries Create a single library that can be used by multiple.net frameworks Allows access only to functionality shared by all selected frameworks Does some nifty namespace mapping Makes cross platform development much easier Microsoft and 3 rd party PCLs available (HttpClient, Imaging, JSON…)

.net x.x Portable Class Library Shared functionality Silverlight

.net x.x Windows Store Portable Class Library Shared functionality Silverlight

.net x.x Windows Store Portable Class Library Shared functionality Silverlight Xamarin.XXXX

PCL Demo Easy-peasy, lemon squeezy It’s hard to find a good image of a class library

Mvvm: Model – View Model - Model

Mvvm: Key interfaces INotifyPropertyChanged RaisePropertyChanged(() => PropertyName ); ICommand INotifyCollectionChanged (or ObservableCollection)

Mvvm: Binding

XAML Code <Button Content="Go Second" Command="{Binding GoSecondCommand}" /> public class FirstViewModel : MvxViewModel { private string _hello = "Hello MvvmCross"; public string Hello { get { return _hello; } set { _hello = value; RaisePropertyChanged(() => Hello); } } public System.Windows.Input.ICommand MyCommand { get { return new Cirrious.MvvmCross.ViewModels.MvxCommand(DoMyCommand); } private void DoMyCommand() { Hello = Hello + " World"; } public System.Windows.Input.ICommand GoSecondCommand { get { return new Cirrious.MvvmCross.ViewModels.MvxCommand(DoGoSecond); } private void DoGoSecond() { ShowViewModel (); }

MvvmCross Cross Platform MVVM Development Framework Free, open source Supports WP7,8 WPF WinRT Xamarin.Android Xamarin.iOS Xamarin.Mac AKA Mvx

MvvmCross Architecture

Using MvvmCross Hard -download from github, compile, include references etc Easy-Nuget; look for MvvmCross Hot Tuna Starter Pack, and plugins Real Easy-NinjaCoder

Getting started - Nuget

Getting started - NinjaCoder

Plugins Convenient way to access platform functionality Use NinjaCoder or Nuget to add plugins Includes Accelerometer, , Files, Location, Messaging, Sqlite 3 rd party plugins available as well. Consume plugins using Dependency Injection or Service locator

Plugins Demo

Platform specific code Describe functionality using an interface in.Core Create platform specific implementation in.xxxx Register implementation on app startup ◦Mvx.RegisterSingleton (new SettingsPersistanceWPF()); ◦Mvx.RegisterType (); Consume plugins using Dependancy Injection or Service locator persistance = Mvx.Resolve ();

Platform specific example Here is one that I prepared earlier

Summary PCLs let you use easily share code across multiple platforms Xamarin lets you use C# on Android, iOS and Mac MvvmCross wraps it all up to make it easy Shared PCL that holds most functionality Platform specific apps for views and dependant code Plugins let you easily add functionality in a cross platform friendly way Do your own platform dependant stuff using interfaces and IoC/Dependancy Injection

Links - MvvmCross Stuart Lodge - MvvmCross Author Blog Videos List of tutorial videos Repository

Links - Xamarin Website - Samples - Mobile library -

Links – Ninja Coder Adrian Sudbury – Ninja Coder Author Blog Ninja Coder

Links - Other

Credits Mvvm Images from

Questions Answers not guaranteed