Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)

Writer | .NET Developer | Microsoft MVP | Public Speaker | Microsoft Azure Nerd
27 de Aug de 2013
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)
1 de 30

Mais conteúdo relacionado

Mais procurados

SilverlightSilverlight
SilverlightBiTWiSE
Best   DotNet Training  in DelhiBest   DotNet Training  in Delhi
Best DotNet Training in DelhiInformation Technology
Evolution of .net frame workEvolution of .net frame work
Evolution of .net frame workvc7722
C# code sharing across the platformsC# code sharing across the platforms
C# code sharing across the platformsAndrei Marukovich
Visual Studio  2012 introductionVisual Studio  2012 introduction
Visual Studio 2012 introductionNicko Satria Consulting
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKMirco Vanini

Similar a Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)

Lecture 10Lecture 10
Lecture 10Skillspire LLC
Difference between .net core and .net frameworkDifference between .net core and .net framework
Difference between .net core and .net frameworkAnsi Bytecode
Building apps with common code for windows 8 and windows phone 8 (WP8)Building apps with common code for windows 8 and windows phone 8 (WP8)
Building apps with common code for windows 8 and windows phone 8 (WP8)Tamir Dresher
.NET Core, ASP.NET Core Course, Session 1.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1aminmesbahi
Introduction_to_NET.pptIntroduction_to_NET.ppt
Introduction_to_NET.pptDarwin Terraza
Vb.net session 01Vb.net session 01
Vb.net session 01Niit Care

Similar a Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)(20)

Mais de Ken Cenerelli

ASP.NET Core deployment optionsASP.NET Core deployment options
ASP.NET Core deployment optionsKen Cenerelli
No SQL, No Problem: Use Azure DocumentDBNo SQL, No Problem: Use Azure DocumentDB
No SQL, No Problem: Use Azure DocumentDBKen Cenerelli
Azure app service to create web and mobile appsAzure app service to create web and mobile apps
Azure app service to create web and mobile appsKen Cenerelli
ASP.NET Core: The best of the new bitsASP.NET Core: The best of the new bits
ASP.NET Core: The best of the new bitsKen Cenerelli
Analyze Your Code With Visual Studio 2015 Diagnostic ToolsAnalyze Your Code With Visual Studio 2015 Diagnostic Tools
Analyze Your Code With Visual Studio 2015 Diagnostic ToolsKen Cenerelli
Azure Data StorageAzure Data Storage
Azure Data StorageKen Cenerelli

Último

How to DAO?How to DAO?
How to DAO?Liveplex
Elevate Your Enterprise with FME 23.1Elevate Your Enterprise with FME 23.1
Elevate Your Enterprise with FME 23.1Safe Software
Improve Employee Experiences on Cisco RoomOS Devices, Webex, and Microsoft Te...Improve Employee Experiences on Cisco RoomOS Devices, Webex, and Microsoft Te...
Improve Employee Experiences on Cisco RoomOS Devices, Webex, and Microsoft Te...ThousandEyes
Regulating Generative AI - LLMOps pipelines with TransparencyRegulating Generative AI - LLMOps pipelines with Transparency
Regulating Generative AI - LLMOps pipelines with TransparencyDebmalya Biswas
ContainerDays Hamburg 2023 — Cilium Workshop.pdfContainerDays Hamburg 2023 — Cilium Workshop.pdf
ContainerDays Hamburg 2023 — Cilium Workshop.pdfRaphaël PINSON
Smart Contracts - The Blockchain Beyond BitcoinSmart Contracts - The Blockchain Beyond Bitcoin
Smart Contracts - The Blockchain Beyond BitcoinJim McKeeth

Último(20)

Maximizing code reuse between Windows Phone 8 and Windows 8 (That Conference 2013)

Notas do Editor

  1. The only true reuse scenario that is currently supported is via a Portable Class Library
  2. - Windows 8 and Windows Phone 8 Share Many Components At The Operating System Level
  3. Created by John GossmanDerived from MVCRequired XAML Data Binding
  4. ViewModel:-The glue that ties the View to the model – the UI to the data- Exposes data from the model that the view can bind toView: Each page shown to a user is a ViewData from model is displayed to userUsing binding
  5. The only true reuse scenario that is currently supported is via a Portable Class Library
  6. Assemblies that target multiple platformsSupport subset of .NET assemblies that target the platforms you choosePCL doesn’t allow any WinRT/WinPRT APIs – only .NET (to get WinRT APIs, you need to link)Pros: Written in managed code, complete reuse with the ability to simply “Add Reference” to the built assembly.Cons: Severe limitations imposed by the need to work across different platforms without targeting. Important features such as INotifyPropertyChanged and Task are missing making it difficult to use in practice.
  7. Show how to reference a PCLThe most common recommendation is to put your models and business logic in a reusable PCL and put your platform-specific view models in the respective User Interface tiers
  8. - Microsoft insists that sharing XAML is not where you should invest time- Instead, you’ll have much more success structuring your app logic to make it reusable
  9. Majority of UI will be platform specificPortable code can be compiled once and run on WP8 or W8 – anything in PCLCommon code is code that use APIs available to both platforms but not portable (WinRT APIs)B/C code must be compiled for each platform
  10. This strategy is useful for where there are subtle differences (for example a different namespace or slightly different parameters to a method)The biggest issue with this strategy is that it can quite easily make code unreadable and hard to maintain.
  11. This strategy is useful for where there are subtle differences (for example a different namespace or slightly different parameters to a method)The biggest issue with this strategy is that it can quite easily make code unreadable and hard to maintain.