Vladimir Milev New Venture Software Sharing Code between WPF and Universal Apps.

Slides:



Advertisements
Similar presentations
Module 1: Creating an Application by Using Windows Presentation Foundation Overview of WPF Creating a Simple WPF Application Handling Events and Commands.
Advertisements

Cross Platform Mobile Development with.NET Greg Shackles Senior Software Engineer OLO Online Ordering
Win8 on Intel Programming Course Desktop : Sensors Cédric Andreolli Intel Software
Silverlight Presenter: Kevin Grossnicklaus February 25 th, 2010.
Amanda Silver Director of Program Management Visual Studio Tools for Client Applications Cross-Platform Development using Visual Studio.
CROSS PLATFORM DEVELOPMENT WITH MVVM CROSS By Ken Tucker.
The Microsoft’s solution for building cross-platform Rich Internet Applications.
An introduction to. Introductions  I’m Rob Fonseca-Ensor  A Solution Architect at Infusion  I run the Canary Wharf.NET User Group  I blog at
Real world Windows Phone development Igor
Joe xamlcoder.com/blog Silverlight / WPF Consultant.
Agenda Unit Test Framework for the XAML app developer Automated end-user testing using Coded UI Test Q&A.
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Welcome Demo – Published Windows Store Apps on Dynamics AX 2012 Why build your own app? Demo – Building a Windows Store and Windows Phone 8 App Building.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
Building an Offline Smart Client using Domain-Driven Design Principles Tim McCarthy.
Rudi Grobler Session Code: WUX205.
Getting Started with Caliburn.Micro and Windows Phone 7 Gary Ewan Park Twitter: Blog:
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
Presentation Name / 1 Visual C++ Builds and External Dependencies NAME.
Jeremy Thake Technical Product Building cross-platform apps that integrate with O365 API’s using Xamarin in Visual Studio.
Windows 8 for Existing.NET Developers Tim Heuer Program Manager Windows Developer Experience Microsoft Corporation.
Windows Phone 7 Mobile Code Camp The Why Why develop for Windows Phone 7 versus Droid or iPhone? It’s all relative to total app users. SDK and Environment.
04 |Sharing Code Between Windows 8 and Windows Phone 8 in Visual Studio Ben Riga
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Managing Database objects in Visual Studio and Team Foundation Server Presented by Sean P SQL Saturday - Phoenix 2016.
Understanding Mobile Devices, Interactions, and Tools Lesson 1.
/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)
Whats New Xamarin and VC++ with VS 2017
12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Real world Windows Phone development
MVVM Made Simple with Prism
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.
The Universal Windows Platform
Build for both: Windows and Windows Phone
Unit testing your metro style apps built using XAML
Automate Custom Solutions Deployment on Office 365 and Azure
Windows Developer Day Fall Creators Update October 10, 2017.
Mobility for Real Estate – Extending JDE Core Data to User Fingertips
Build Windows 10 UWP MVVM Apps with Prism
Did your feature got in, out or planned?
WPF vs Silverlight.
9/11/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Build /13/2018 2:24 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Desktop App Converter (Project Centennial)
SharePoint Framework Extensions
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
.NET Standard Jon Galloway | Executive Director, .NET |
Module 1: Getting Started
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 NZ October 2016 SKYCITY, Auckland.
Present by Andie Saizan, MCP
Using Visual Studio and VS Code for Embedded C/C++ Development
What?   Accounts Accounts subscription Azure Pass Code Azure Pass Code.
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Introducing Metro style device apps
What’s new for Windows 8 Devs Part 2
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.
TechEd /4/2019 3:19 PM © 2013 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
Enterprise Developer Camp Jumpstart
Bringing existing managed code into Metro style apps
An Introduction to the Model-View-ViewModel Pattern
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:

Vladimir Milev New Venture Software Sharing Code between WPF and Universal Apps

Founder and CSA at Spent 9 years at Telerik, most of them on XAML Blog: milev/ milev/ 4 th time speaker at NTK Speaker at other conferences i.e. DevReach, How.Camp and others. Vladimir Milev

Identifying our use case and needs Code Sharing techniques PRISM and Unity Navigation Sharing XAML Discussion / Q&A Agenda

Universal Apps / UWP Platform Convergence Investment in the future? Code Reuse Look and feel unification

It is “THE Platform” for Desktop development Visual Studio, AutoCAD, Expression Blend, GitHub It’s longevity is secure Pretty much the only choice for new LOB apps Support for Windows 7 (and Vista) - huge market share at 60%+.NET Apps in Windows Store WPF

XAML Based WPF as extension to UWP Common business logic Support for widest range of MS platforms Support for Windows 7 and earlier The case for WPF + Universal Apps

File Includes (Add as link option or Same folder approach) Shared Projects Portable Class library When to use each? Strategies for sharing code

Did that for XAML controls at Telerik Somewhat archaic way of doing things The predecessor of Shared Projects Not recommended to be done on a large scale Still suitable for exception cases File includes (add as link option)

Shared Projects

Two types – classic and (universal apps) Targets the least common denominator APIs Much more simplified development model It is er… well… portable It scales well to large systems requiring multiple solutions, involving third parties or multiple programming languages Difficult to access platform specific APIs: Requires DI, IoC containers, and lots of interfaces. Portable Class Libraries

Line of Business Application Basics: MVVM Pattern: Views, ViewModels Navigation Commanding We will explore our approach to each Introducing MyApp

Creating the project structure Installing the Share Project Manager Extension Adding a Desktop (WPF) Project Configuring folder structure (DEMO) Initial Project Setup

Why PRISM? Consider also Caliburn.Micro, MVVM Light Subset of PRISM: PRISM MVVM ViewModel and BindableBase AutoWireViewModel IView interface Implementing cross-platform PRISM

Navigation INavigationService interface

No counterpart in WPF Regions and RegionManager (with MEF) Frame control and it’s NavigationService Reimplementing the INavigationService in WPF Introducing the Unity IoC Container. Introducing Commanding. Navigation

XAML Preprocessing

Share the XAML file Fix the WPF Version Create an RegExp preprocessor Insert some MSBuild Magic Adding a custom template control sample XAML Preprocessing

Identifying our use case and needs Code Sharing techniques PRISM and Unity Navigation Sharing XAML Discussion / Q&A Recap