28

Universal app techniques on how to share files

Embed Size (px)

DESCRIPTION

I held a short lab about different techniques on how to share files in a Windows Universal app. If you need to put code in the win respective the phone there are some techniques on how this can be done which is handled here. Also look at the repo here which includes some exercises: https://github.com/jayway/LabUniversalStructureWindows

Citation preview

Page 1: Universal app techniques on how to share files
Page 2: Universal app techniques on how to share files

Universal Structure Windows

Page 3: Universal app techniques on how to share files

Agenda

Brief introduction

Exercise

Discussion

Page 4: Universal app techniques on how to share files

Sources of knowledge

Very few as to date (2014-10-08)

Universal Windows Apps with XAML and C# Unleashed Paperback – February 19, 2015

Developing Universal Windows Apps (C#/XAML) Jump Start (Not out yet, coming within a couple of weeks)

Page 5: Universal app techniques on how to share files

Sources of knowledge

Did find a session from TechEd New Zeeland:

http://channel9.msdn.com/events/TechEd/NewZealand/2014/WIN305

Most of the slides below are taken from this session.

Page 6: Universal app techniques on how to share files
Page 7: Universal app techniques on how to share files
Page 8: Universal app techniques on how to share files
Page 9: Universal app techniques on how to share files
Page 10: Universal app techniques on how to share files
Page 11: Universal app techniques on how to share files
Page 12: Universal app techniques on how to share files

Here I must add Interface

Page 13: Universal app techniques on how to share files
Page 14: Universal app techniques on how to share files
Page 15: Universal app techniques on how to share files
Page 16: Universal app techniques on how to share files
Page 17: Universal app techniques on how to share files

Sharing Code: Interface

Page 18: Universal app techniques on how to share files

Sharing XAML

Probably not very often

Simple layouts can be shared

UserControls can more often be shared

Page 19: Universal app techniques on how to share files
Page 20: Universal app techniques on how to share files
Page 21: Universal app techniques on how to share files
Page 22: Universal app techniques on how to share files
Page 23: Universal app techniques on how to share files
Page 24: Universal app techniques on how to share files

Exercise:

Get repo from https://github.com/jayway/LabUniversalStructureWindows.git

Refactor the code using the different techniques:#ifInheritancePartial classInterface

Page 25: Universal app techniques on how to share files

Discuss

Which technique is the best?

Are some techniques better for certain circumstances?

Which technique for what circumstance?

Page 26: Universal app techniques on how to share files
Page 27: Universal app techniques on how to share files

www.jayway.com

Robert Hedgate

+46725719099 [email protected]

Page 28: Universal app techniques on how to share files