Code Sharing Between Windows Phone/Store Apps

Preview:

DESCRIPTION

This is slide deck from session on Code Sharing between Windows Phone and Windows Store apps. Complete code has been published at https://github.com/adilmughal/DemoMvvm-Sharing-WP-WS

Citation preview

Sharing Code Between Windows Phone & Windows Store Apps

Adil Ahmed Mughal

Speaker => Adil Ahmed Mughal

Affiliations:

Contact Information:

@adilamughal

http://www.adilmughal.com

adil.mughal@live.com

What to Expect Today?

• What you must already know?– Basic hands on XAML development

– Knowledge of binding or MVVM

• What you will learn?– Leverage Model-View-ViewModel (MVVM) pattern to share

non-UI code across Windows Phone and Store apps

– Universal apps project template to share UI stuff across both platforms

Agenda

Implement a simple contact form app on WP/WT:

1. Traditional way

2. MVVM way

3. Universal app template

The App

Traditional Way

Let’s write code…

The MVVM Way

MVVM Recap

The MVVM Way

Time to code…

Universal Apps

New project template in

Visual Studio 2013 (Update 2)

Sharing Code Between Windows Phone/Store Apps

Thank YOU for your time and attention!

Adil Ahmed Mughal

@adilamughal

http://www.adilmughal.com

adil.mughal@live.com