Today it is the first day of 2 day Imagine Camp series. Got a chance to deliver a session there under the subject Portable Code Strategies for Windows Store Apps and Windows Phone 8 Apps.
In this session the idea was to show how we can write and use a single code base which can be consumed from Windows Store Apps as well as from Windows Phone 8 Apps.
The strategies covered were,
- Shared Source Code using “Add As Link” and #if conditional blocks
- Partial Classes
- Portable Class Libraries and Platform Abstraction using abstract classes
I am uploading the demo applications, I used to my SkyDrive. Feel free to download and explore.