Windows 8 and Windows Phone code