coding and designing for windows 8 and windows phone 8, best practices and reusing code

Post on 10-May-2015

509 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

More info on http://www.techdays.be

TRANSCRIPT

Coding and designing for Windows 8 and Windows PhoneBest practices and reusing code

Coding and designing for Windows 8 and Windows PhoneBest practices and reusing code

Laurent BugnionSenior Director, IdentityMineMicrosoft MVP, Regional Director

multiple strategies

Sharing at source code level

CS

partialCS

partialCS

CS

partialCS

partialCS

Link to existing item

Link to existing item

XAML XAMLLink to existing item

Sharing at assembly level

Windows 8 Windows Phone

Class Library Class Library

Portable Class Library

portable class libraries

Creating a new PCL

Creating a new PCL

available for

.NET 4 and higher

.NET 4.5Silverlight 4 and higherSilverlight 5Windows Phone 7 and higherWindows Phone 7.5 and higherWindows Phone 8Windows Storeand more...

A subset

.NET Win8

Windows Phone

mvvm to decouple

Windows Phone

Windows 8

Portable Class Library

mvvm and pcl

Model

Helpers

ViewModel

Model

Helpers

ViewModel

View

Model

Helpers

ViewModel

View

the libraries

Microsoft.BCLMicrosoft.Net.HttpNewtonsoft.JsonPortable.CommonServiceLocatorPortable.MvvmLightLibsand many more...

Convenient with Nuget...but make sure you have a recent version!

demo: building a shared app

http://blog.galasoft.chhttp://www.galasoft.ch

http://www.identitymine.com

@LBugnion

top related